Partilhar via


HideSelection Property

Specifies whether selected text appears selected when a control loses focus. Available at design time and run time.

Control.HideSelection[ = lExpr]

Property Values

  • lExpr
    The settings for the HideSelection property are:
    Setting Description
    True (.T.) (Default) Selected text does not appear selected when the control loses the focus.
    False (.F.) Selected text appears selected when the control loses the focus.

Remarks

You can use this property to indicate the text that is selected while another form or a dialog box has the focus — for example, in a spelling-check routine.

See Also

DisabledBackColor, DisabledForeColor Properties | GotFocus Event | LostFocus Event

Applies To: ComboBox | EditBox | Spinner | TextBox