VisuFctSelectElement (FUN)
FUNCTION VisuFctSelectElement : DWORD
The selectable element sets the new selection TO the next SUB element OR itself in the pNewSelectionData. The pCurrentSelectionData is needed TO check whether the current selection is within THIS element. The selection type can be one of the following constants:
VISU_SELECTION_TAB : DWORD := 16#00000001; VISU_SELECTION_SHIFTTAB : DWORD := 16#00000002; VISU_SELECTION_FIRST : DWORD := 16#00000003; VISU_SELECTION_LAST : DWORD := 16#00000004; VISU_SELECTION_LEFT : DWORD := 16#00000005; VISU_SELECTION_UP : DWORD := 16#00000006; VISU_SELECTION_RIGHT : DWORD := 16#00000007; VISU_SELECTION_DOWN : DWORD := 16#00000008; VISU_SELECTION_AT : DWORD := 16#00000009; VISU_SELECTION_ELEMENT : DWORD := 16#000000010;
In the case of VISU_SELECTION_AT the input variable pPosition should be considered. In the case of VISU_SELECTION_ELEMENT the input variable iVisualElement should be considered.
- InOut:
Scope
Name
Type
Comment
Return
VisuFctSelectElementDWORDInput
pClientDataPOINTER TO VisuStructClientData
The current client data
pCurrentSelectionDataPOINTER TO Visu_StructSelectionData
The current selection data
pNewSelectionDataPOINTER TO Visu_StructSelectionData
The new selection data
dwSelectionTypeDWORDThe selection type
pPositionPOINTER TO ARRAY [0..9] OF INT
The position to select
iVisualElementIVisualElementThe visual element to select
iElemIndexINTThe current element index
iElemIdINTThe current element id
iPositionIndexINTThe current position in the position array
callerIVisualElementThe element which checks the selection