 |
ALPHA-VISION® Window dependent Actions: Wnd_Dialog
|
Wnd_Dialog
SUMMARY
Wnd_Dialog - Load Dialog
SYNTAX
WndDialog(
<DisplayId>,
<VarCount>)
ARGUMENTS
- DisplayId
-
Name of the dialog window.
- VarCount
-
Optional - Number of arguments to be handed over.
DESCRIPTION
Loads a Dialog window and optionally hands over parameters.
Hints:
Example for handing over parameters:
Usr_String(String_1)
Usr_PushArgs()
Usr_String (String_2)
Usr_PushArgs()
Obj_Value(PV_0123)
Usr_PushArgs()
Wnd_Dialog(Dlg_1,3)
In the dialog window “Dlg_1”
- the value of “PV_0123” is available as “$Wnd1”
- the “String_2” is available as “$Wnd2”
- the “String_1” is available as “$Wnd3”
Restrictions:
- a maximum of 99 parameters can be handed over
- the all over definition for parameter hand-over an
calling the dialog must not exceed 255 characters.
WARNING
Any definitions exceeding the limits are cut without warning
or error message.
EXAMPLES
WndDialog(WINDIA,5)
The Dialog Window "WINDIA" is called and 5 parameters are handed over.
Syntax Notation
- [aaa]
- aaa is optional (zero or one occurences)
- (aaa|bbb)
- aaa exclusive or bbb
- (aaa)*
- aaa may occur indefinitely often or may be omitted
- (aaa)+
- aaa may occur indefinitely often but at least once
- (aaa)m..n
- aaa may occur from m to n times