 |
ALPHA-VISION® Graphic Objects: Click List
|
Click List
SUMMARY
Information to Click Lists
CONTENTS
- Properties
- Handling
- Binding
Properties
Text (Text)
The shown or selected text is displayed in the AvEdit only, in runtime it
is overwritten by the refresh script.
Click List Entries (Entries)
Here the entries selectable by the user are created. Any entry is written
to one line. Please avoid unnecessary spaces at the beginning or the end
of a line, since they are taken into the text. If an empty entry is
wanted an empty line has to be added.
All other Properties
For all other properties see:
Text
Click lists are always single-lines!
Handling
By clicking onto the arrow-buttons the entries are selected. After selecting
a new entry the text field becomes a button. By pressing that button or
[ENTER] the action is accepted.
Binding
Text
Example Refresh-Script:
CnvrtTime2Str("DD.MM.YYYY hh:mm:ss", OBJ.MyObject.Time);
//The formatted string is pushed onto the stack
SetVal(Text, ); //the missing argument is taken from the Stack
Example Aktion:
CnvrtStr2Time("DD.MM.YYYY hh:mm:ss", Text);
//The time-value is pushed onto the stack
SetVal(OBJ.MyObject.Time, ); //the missing argument is taken from the Stack