Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Stata8: Dialogs and macros


From   "Plattner, Dankwart" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: Stata8: Dialogs and macros
Date   Mon, 24 Mar 2003 15:42:04 +0100

Dear Stata-Users,
I'm wondering whether one can use macros in S8-dialog windows. What I want
to do is to manipulate the string shown by a dialog control (preferably, a
text control, but it could also be an edit control) depending on the choice
the user made in a radio control group or a FILE control. 
Obviously that's not possible within the dialog, because one cannot use
string functions there. Therefore I transfer the value associated with the
radio/file controls to an ado-file, where the  string is manipulated. But
how to make the dialog understand the macros generated by the ado?
I tried the EDIT-control, but it accepts global macros only as a one-time
default.
Any suggestions would be greatly appreciated!
Sincerely
Dankwart Plattner
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index