*EDITDATETIMEMODE (SETMODE)
PLBCMP GUI Only, 9.4D
*EDITDATETIMEMODE={value}
The *EDITDATATIMEMODE control sets the state of the EDITDATETIME initialization mode.
{value} is a previously defined Numeric Variable that defines the EDITDATETIME mode.
As originally implemented, the runtime behaviors for an EDITDATETIME object are affected by the following instructions when a 'checkbox' is used:
Returns current assigned date time of EDITDATETIME when checkbox is checked.
Returns current assigned date time of EDITDATETIME when checkbox is unchecked.
Sets the current assigned date time and sets the checkbox state when a valid date time is specified in the DimDateVar variable.
If the DimDateVar is a NULL DIM variable, the current assigned date time or the current checkbox checked state remain unchanged.
Returns current assigned date time of EDITDATETIME when checkbox is checked.
Returns current assigned date time of EDITDATETIME when checkbox is unchecked.
Sets the current assigned date time and sets the checkbox state when a valid date time is specified in the DimDateVar variable.
If the DimDateVar is a NULL DIM variable, the current assigned date time or the current checkbox checked state is unchecked.
The EDITDATETIMEMODE bit mask values specified in the {nvar} parameter are defined as follows:
0x1 - ENABLE\DISABLE EDITDATETIME checkbox null mode
If this bit is set off and an EDITDATEIME is using a checkbox, the behaviors of GETITEM, SETITEM, GETPROP, and SETPROP are the same as described above. When the EDITDATETIMEMODE bit state is set to on and an EDITDATETIME object is using a checkbox, the following instruction behaviors are executed by the runtime:
Returns current assigned date time of EDITDATETIME when checkbox is checked.
Returns current assigned date time of EDITDATETIME when checkbox is unchecked.
Sets the current assigned date time and sets the checkbox state when a valid date time is specified in the DimDateVar variable.
If the DimDateVar is a NULL DIM variable, the currently assigned date time remains unchanged and the checkbox is unchecked.
Returns current assigned date time of EDITDATETIME when checkbox is checked.
Returns current assigned date time of EDITDATETIME when checkbox is unchecked.
Sets the current assigned date time and sets the checkbox state when a valid date time is specified in the DimDateVar variable.
If the DimDateVar is a NULL DIM variable, the current assigned date time remains unchanged and the checkbox is unchecked.
See Also: List Controls (SETMODE), SETMODE
![]() |