SelectOnEntry Property

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]

Return Value

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.

Remarks

Applies To: Column Object | EditBox Control | TextBox Control

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

Reference

Highlight Property

HighlightRow Property

Other Resources

Properties (Visual FoxPro)