*EDITDATETIMEMODE (GETMODE)


PLBCMP GUI Only, 9.4D

*EDITDATETIMEMODE={value}

 

The *EDITDATETIMEMODE control determines the default operations by the runtime for the the EDITDATETIME object.

 

{value} is a previously defined Numeric Variable that receives the EDITDATETIMEMODE value.

 

As originally implemented, the runtime behaviors for an EDITDATETIME object are affect by the following instructions when a 'checkbox' is used:

 

GETITEM EDITDATETIME, 0, DimDateVar

Returns current assigned date time of EDITDATETIME when checkbox is checked.

Returns current assigned date time of EDITDATETIME when checkbox is unchecked.

 

SETITEM EDITDATETIME, 0, DimDateVar

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.

 

GETPROP EDITDATETIME, TEXT=DimDateVar

Returns current assigned date time of EDITDATETIME when checkbox is checked.

Returns current assigned date time of EDITDATETIME when checkbox is unchecked.

 

SETPROP EDITDATETIME, TEXT=DimDateVar

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:

 

GETITEM EDITDATETIME, 0, DimDateVar

 

Returns current assigned date time of EDITDATETIME when checkbox is checked.

Returns current assigned date time of EDITDATETIME when checkbox is unchecked.

 

SETITEM EDITDATETIME, 0, DimDateVar

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.

 

GETPROP EDITDATETIME, TEXT=DimDateVar

Returns current assigned date time of EDITDATETIME when checkbox is checked.

Returns current assigned date time of EDITDATETIME when checkbox is unchecked.

 

SETPROP EDITDATETIME, TEXT=DimDateVar

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 (GETMODE), GETMODE

 



PL/B Language Reference *DUMPCRSTACK (GETMODE) *EDITDATETIMEUTC (GETMODE)