TabControl.SelectOnStartEditing

Syntax

SelectOnStartEditing: Boolean;

Description

The SelectOnStartEditing property determines whether a tab header is selected on double-click.

Comments

Available values:

The property is relevant only if the TabControl.EnableEdit property is set to true.

Example

Executing the example requires that the page contains the TabControl component named tabControl (see Example of Creating the TabControl Component). Enable tab headers editing and specify that on double-click on the headers the cursor is put at the text end:

//Enable editing of the tab header
tabControl.setEnableEdit(true);
//on double-click on the header the cursor is put at the text end
tabControl.setSelectOnStartEditing(false);

After the example execution tab header editing is enabled. On double-click on the header the cursor is put at the text end.

See also:

TabControl