SelectOnStartEditing: Boolean;
The SelectOnStartEditing property determines whether a tab header is selected on double-click.
Available values:
true. Default value. Double-click on the tab header selects header text.
false. Double-click on the tab header puts the cursor to the end of the header text.
The property is relevant only if the TabControl.EnableEdit property is set to true.
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: