IValueChangedListener.ValueChanged (METH)¶
METHOD ValueChanged : BOOL
- InOut:
Scope
Name
Type
Comment
Return
ValueChangedBOOLInput
pClientPOINTER TO VisuStructClientData
A pointer to the client structure were the event occurred. pClient can be 0 when eType = ConditionVariable
itfVisualizationIVisualisationThe visualization from which the value changed event is called. Is always set when pClient <> 0
itfVisualizationDialogIVisualisationDialogIf the value changed event is called from a dialog this parameter is set (<> 0).
paiInputPositionPOINTER TO ARRAY [0..9] OF INT
The input position in the visualization is a list of element ids. A list is necessary because of element in frames. -1 means not set. Example: 41,23,-1,-1,… Frame element with id 41 in visualization itfVisualization.GetName(TRUE); Element with id 23 in the referenced visualization of the frame
paiInputFrameIndicesPOINTER TO ARRAY [0..9] OF INT
A list of frame indices for the input position. This information is necessary to know the referenced visualization. Example: 1,-1,-1,… In the frame element the second visualization in the list of frame selection was set.
pbOldValuePOINTER TO BYTE
A pointer to the old value. The pointer is not necessarily the same than the pbVarPointer. If a pbVarPointer with a size > 2004 byte is used the old value cannot be stored In this case pbOldValue is NULL
pbNewValuePOINTER TO BYTE
A pointer to the new value. The pointer is not necessarily the same than the pbVarPointer.
pbVarPointerPOINTER TO BYTE
A pointer to the variable which was changed. Can be null if pPropertyInfo is set.
pPropertyInfoPOINTER TO PropertyInfo
A pointer to the property info of the variable which was changed. The value is only set when the value changed event comes from a property.
dwVarSizeDWORDThe size of the variable which was changed.
eTypeClass__SYSTEM.TYPE_CLASSThe type of the variable which was changed.
eTypeVisuEnumValueChangedTypeThe type of the value changed event. This type can be used to filter events.
dwDialogIdDWORDIf the value changed event comes from a dialog the dialog id is necessary to know the context from which element the dialog was opened. This can be necessary to know the corresponding variables of the dialog. Normally the following events occur: Event with type OpenDialogPositionInfo - To know the element where the dialog was opened. Event with type Default - ValueChange event for the changed variables Event with type CloseDialogPositionInfo - To know that the dialog was really closed.
dwParam1DWORDIf the value changed event comes from a key event dwParam1 contains the key code.
dwParam2DWORDIf the value changed event comes from a key event dwParam2 contains the modifier code.