Click Edit-Field

SUMMARY

Information to the Click Edit-Field

CONTENTS

  1. Properties
  2. Handling
  3. Binding

Properties

Text (Text)
The selected time as text is displayed in the AvEdit only, in runtime it is overwritten by the refresh script.

All other Properties
For all other properties see: Text

Handling

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.

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