Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: dialog programming question


From   "Rodrigo A. Alfaro" <ralfaro76@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: dialog programming question
Date   Thu, 22 Jun 2006 12:03:04 -0400

Maybe profile.do is the file that you need. -help profile-
R.


----- Original Message ----- 
From: "Michael Blasnik" <michael.blasnik@verizon.net>
To: <statalist@hsphsun2.harvard.edu>
Sent: Thursday, June 22, 2006 11:27 AM
Subject: st: dialog programming question


I'm working on a project where I need to create a dialog box for the end
user.  I want the user to be able to permanently store and retrieve all of
the settings in the dialog box.  I've found a way to do this by keeping the
settings information in a Stata dataset and creating buttons that activate
programs in the dialog file for retrieving old settings and saving new
settings through global macros.

The problem I'm having is that when settings are retrieved, the values in
the dialog box don't change unless the user clicks the reset button in the
bottom left corner.  I'd like to know if there is a way to automatically
initiate a reset from within a script or program so that the default values
update themselves.  The reset button does get a name (usually res1) so I'm
wondering if there is some type of member function to initiate a reset.

Thanks,

Michael Blasnik
michael.blasnik@verizon.net

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index