TiEditCustom.AutoSelect

TiEditCustom

Specifies whether the value is selected when obtaining focus.

property AutoSelect : Boolean;

Description

Use AutoSelect to specify whether the value is automatically selected when the control obtains focus.

This is useful where you want to control whether the value is selected when the control obtains focus, say for use in conjunction with our iKeyboard control. The keyboard changes focus between itself and the previously focused control, resulting in the control losing and then regaining the focus for each keypress. Setting this property to False ensures that the entire value is not selected during each loss and gain of focus by the control.

Example

Delphi

iComponent.AutoSelect := True;

C++ Builder

iComponent->AutoSelect = True;

Contents | Index | Previous | Next