Products Downloads


French version


 

 

GET_CURSOR_LOCATION

 

Locates the first and last selected character in the combo box's input field.

Syntax

CALL_METHOD NameComboBoxObject GET_CURSOR_LOCATION StartPosition EndPosition

Parameters

NUM_BIN_4 StartPosition

Position of the first selected character (output parameter)

NUM_BIN_4 EndPosition

Position of the first character after the last selected character (output parameter)

Conditions for use

None

 

 

SET_CURSOR_LOCATION

 

Selects a block of characters in the combo box's input field.

Syntax

CALL_METHOD NameComboBoxObject SET_CURSOR_LOCATION StartPosition EndPosition ReturnCode

Parameters

NUM_BIN_4 StartPosition

Position of the first character that you want to select (input parameter).

If StartPosition is set to -1 the text is deselected and the cursor moves to the end of the line.

NUM_BIN_4 EndPosition

Position of the first character following the last character that you want to select (input parameter).

If EndPosition is set to -1 the complete text is selected.

NUM_BIN_2 ReturnCode

Return code for the operation (output parameter)

Possible values:

-1 The combo box has been defined as a Drop List,
0 Internal error,
1 Operation completed successfully.

Conditions for use

None

 

 

 

SET_FOCUS

Places the focus on the object.

Syntax

CALL_METHOD NameComboBoxObject SET_FOCUS

Conditions for use

None

 

 

 

 

↑ Top of page