SelectOnEntry Property

Visual Studio .NET 2003

Specifies whether text in a column cell, edit box, or text box selected when the user moves to it. Available at design time and run time.

Object.SelectOnEntry[ = lExpr]

Property Values

The settings for the SelectOnEntry property are:

Setting Description
True (.T.) (Default for columns) The text is selected.
False (.F.) (Default for edit and text boxes) The text isn't selected


If the Highlight property is set to true (.T.), you can use it in conjunction with the SelectOnEntry property to determine if the entire text appears selected. If you set the Highlight property to false (.F.), the SelectOnEntry property is ignored.

See Also

Highlight Property | HighlightRow Property

Applies To: Column | EditBox Control | TextBox Control