Navigation:  Program Reference > Dialogs >

Dialog's Variables

Previous pageReturn to chapter overviewNext page

VisualSetup allows you define string variables that are dialog-dependents and language-dependents. Dialog-dependent variables are very useful when you are using a common Style for all wizard dialogs and you want to display in the Style Dialog's controls a dialog-dependent information, like the dialog's title, for instance. Language-dependent variables are very useful to allow you create multi-language click-script events.

For example, instead of displaying the same caption in a Style Dialog's control that would show the dialog's title, you will display the caption "%DialogTitle%" and define the variable %DialogTitle% for each wizard dialog that uses this Style Dialog.

 

To define a dialog-dependent and language-dependent variable, open the Dialog's Variable editor for the dialog you want. Go to Setup Dialogs' toolbox (View > Setup Dialogs menu command). Right-click the dialog you want to define a variable and then select Dialog's Variables. Then, select Editor > Add Dialog's Variable. Change the Variable property with the name of the variable you want to be dialog-dependent and language-dependent, and then type the value of this variable for each defined Setup Language.

 

 

For the example above, the Dialog's Variable editor would be as the following one: