VisuFbElemTextEditor.SelectElement (METH)

METHOD SelectElement : 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

SelectElement

DWORD

Input

pClientData

POINTER TO VisuStructClientData

The current client data

pCurrentSelectionData

POINTER TO Visu_StructSelectionData

The current selection data

pNewSelectionData

POINTER TO Visu_StructSelectionData

The new selection data

dwSelectionType

DWORD

The selection type

dwGroupType

DWORD

The group type

pPosition

POINTER TO ARRAY [0..9] OF INT

The position to select

iVisualElement

IVisualElement

The visual element to select

iElemIndex

INT

The current element index

iElemId

INT

The current element id

iPositionIndex

INT

The current position in the position array