Referencing Dialogs

To reference the properties of dialog and the properties of it controls, an object is defined with the dialog name:

iName = 'Dialog1';

aObject = dictionary.findObject(iName);

With a dialog object, the val method takes either 2 or 3 parameters:

val(<control name>,<property name>[,<value>])

Examples: