![]() |
ALPHA-VISION® Graphic Objects: Click Edit-Field |
On program start, respectively if no time is available yet the job
"CnvrtTimeToStr()" generates the format mask and displays it.
Via double click to the field the actual time is set.
As in a standard edit field the time can be modified; the input must comply with
the mask.
The action is initiated by a double click, or in case of a manually input
via the [ENTER] button.
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
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