IRdsDictionaryBox.SelectionMode

Syntax

SelectionMode: SelectionModeType;

Description

The SelectionMode property determines the mode of selecting component elements.

Comments

Default mode of a multiple selection: SelectionModeType.MultiSelectStandard.

Example

Executing the example requires a form with the Button1 button, the RdsDictionaryBox component named RdsDictionaryBox1, and the UiRdsDictionary component that is a data source for RdsDictionaryBox1. Example is a handler of the OnClick event for a button.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
    RdsDictionaryBox1.SelectionMode := SelectionModeType.SingleSelect;
End Sub Button1OnClick;

After executing the example mode of a singular selection is enabled in the RdsDictionaryBox1 component.

See also:

IRdsDictionaryBox