 Name
Name of the Text Field. Must be unique whatever its type.
vsTASKER will generate a class whose name will be <Name>_Spt. For the moment, this class will inherit from Vt_Sprite class.
Any Sprite can be accessed using its name in a generated union named s.
|
|
 Editable
If checked, the text field can be edited with the mouse and changed with the keyboard.
If unchecked, the text field is read-only.
|
|
 Display Frame
If checked, the value text field is surrounded with a frame line.
If unchecked, there will be no frame line.
|
|
 Cycle at
Only available for not editable text field.
If is checked, chose the frequency at which the Runtime code will be called.
If unchecked, the Runtime code will not be called and the text field (data) will only be set from any other piece of code.
|
|
 Caption
Use this button to set the caption font for the text field.
|
|
 Field Settings
Use this button to set the data font for the text field.
|
|
 Import/Export
Not available yet.
|
|
 Definitions
Put here all the local variables needed for this specific text field runtime code.
|
|
 Initialization
Initialize here (mostly in RESET part) all the variables defined in Definition section.
|
|
 Runtime
The runtime is called differently if the Text Field is editable or not:
Editable:
Code only called when the Enter button is depressed on the keyboard.
get() retreive the data as a character string.
Up to the user to convert and process it:
if (db->updated) {
char* val = get();
// ... user code
db->updated = 0; // job done
}
Read-Only:
Code is not call or, if checked, at the specified frequency.
Use set(...) to display any data on the field.
|
|