|
#1
|
|||
|
|||
|
Refreshing the body text of a dialog at runtime
Hello!!
I have the following problem: I have a dialog with a body text. In this body text is a session variable. While the dialog is displayed, the session variable changes. When the user clicks on a button, on that dialog, I would like to refresh the body text so that the new value of the session variable is displayed. I tried to reopen the dialog with Screen.Jump("..."), but this didn't worked. The value of the session variable displayed in the body text is always as it was when the dialog opened the first time. I hope you understand my question... Jens Drescher |
|
#2
|
||||
|
||||
|
[By dialog you mean one of the wizard screens (Project > Screens) and not a pop-up dialog, right?]
You can set the body text directly on a screen using something like this: Code:
DlgStaticText.SetProperties(CTRL_STATICTEXT_BODY, {Text="new text"});
Code:
strNewText = SessionVar.Expand("Text containing a session variable like %ProductName%");
DlgStaticText.SetProperties(CTRL_STATICTEXT_BODY, {Text=strNewText});
__________________
--[[ Indigo Rose Software Developer ]] |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Status Dialog text disappears | Lizard | Setup Factory 7.0 Discussion | 4 | 09-20-2006 12:15 PM |
| Example: Loading Paragraph Text Using a Timer | Jonas DK | AutoPlay Media Studio 5.0 Examples | 7 | 11-25-2004 06:10 PM |
| INFO: Microsoft Data Access Components 2.8 Runtime Notes | Desmond | Setup Factory 6.0 Knowledge Base | 0 | 11-28-2003 09:20 AM |
| HOWTO: Display Conditional Text Based Upon a List Box Selection | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-15-2002 11:54 AM |
| Tip: Variable number of text items determined at runtime | csd214 | Setup Factory 6.0 | 1 | 12-10-2001 01:09 PM |
All times are GMT -6. The time now is 12:15 AM.






Linear Mode

