Partager via


HideSelection Property

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

Control.HideSelection[ = lExpr]

Return Value

  • 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

Applies To: ComboBox Control | EditBox Control | Spinner Control | TextBox Control (Visual FoxPro)

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

Reference

DisabledBackColor, DisabledForeColor Properties

GotFocus Event

LostFocus Event

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)