GEOS SDK TechDocs
|
|
3.3 The Increment
|
3.5 Display Formats
GVLI_stateFlags, MSG_GEN_VALUE_SET_INDETERMINATE_STATE, MSG_GEN_VALUE_IS_INDETERMINATE, MSG_GEN_VALUE_SET_MODIFIED_STATE, MSG_GEN_VALUE_IS_MODIFIED, ATTR_GEN_SET_MODIFIED_ON_REDUNDANT_SELECTION
GVLI_
stateFlags
stores the current state of the GenValue. There are two
GenValueStateFlags
:
MSG_GEN_APPLY
. The handler for
MSG_GEN_APPLY
checks whether this flag is set before sending out the GenValue's GVLI_
applyMsg
.
GenValues are normally marked as not modified anytime their state is set with an external message, marked modified whenever the user interacts with them, and marked not modified after receiving
MSG_GEN_APPLY
.
MSG_GEN_VALUE_SET_MODIFIED_STATE
allows you to control the modified state of a GenValue outside of these events.
You may set a GenValue's indeterminate or modified state with
MSG_GEN_VALUE_SET_INDETERMINATE_STATE
or
MSG_GEN_VALUE_SET_MODIFIED_STATE
, respectively.
To check whether a GenValue is indeterminate or modified, use
MSG_GEN_VALUE_IS_INDETERMINATE
or
MSG_GEN_VALUE_IS_MODIFIED.
You may also mark a GenValue GVSF_OUT_OF_DATE by sending it MSG_GEN_VALUE_SET_OUT_OF_DATE.
void MSG_GEN_VALUE_SET_INDETERMINATE_STATE(
Boolean indeterminateState);
This message sets the indeterminate state for a GenValue. Pass TRUE to mark the GenValue indeterminate, FALSE to mark it not indeterminate. The GenValue will not be marked modified after this message.
Source: Unrestricted.
Destination: Any GenValue object.
Parameters:
indeterminateState
TRUE to set the GVSF_INDETERMINATE flag in the GenValue's GVLI_
stateFlags
,
FALSE to clear the GVSF_INDETERMINATE flag.
Interception: Generally not intercepted.
Boolean MSG_GEN_VALUE_IS_INDETERMINATE();
This message checks whether a GenValue is indeterminate.
Source: Unrestricted.
Destination: Any GenValue object.
Return: TRUE if GenValue is indeterminate, FALSE if it is not.
Interception: Generally not intercepted.
void MSG_GEN_VALUE_SET_MODIFIED_STATE(
Boolean modifiedState);
This message sets the modified state for a GenValue. Pass TRUE to mark the GenValue modified, FALSE to mark it not modified.
Source: Unrestricted.
Destination: Any GenValue object.
Parameters:
modifiedState
TRUE to set the GVSF_MODIFIED flag in the GenValue's GVLI_
stateFlags
,
FALSE to clear the GVSF_MODIFIED flag.
Interception: Generally not intercepted.
Boolean MSG_GEN_VALUE_IS_MODIFIED();
This message checks whether a GenValue has been modified since the last
MSG_GEN_APPLY
.
Source: Unrestricted.
Destination: Any GenValue object.
Return: TRUE if GenValue is modified, FALSE if it is not.
Interception: Generally not intercepted.
void MSG_GEN_VALUE_SET_OUT_OF_DATE();
This message sets a GenValue's GVSF_OUT_OF_DATE flag.
Source: Unrestricted.
Destination: Any GenValue object.
Interception: Generally not intercepted.
GEOS SDK TechDocs
|
|
3.3 The Increment
|
3.5 Display Formats