Vcl.StdCtrls.TCustomEdit.HideSelection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property HideSelection: Boolean read FHideSelection write SetHideSelection default True;

C++

__property bool HideSelection = {read=FHideSelection, write=SetHideSelection, default=1};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomEdit

Description

Determines whether the visual indication of the selected text remains when focus shifts to another control.

Set HideSelection to false to provide visual feedback of the selected portion of the text even when the edit control does not have focus. Set HideSelection to true to show the selection only when the edit control has focus. HideSelection does not affect the actual value of the selection, only the visual indication. Always setting HideSelection to false can make forms with many edit controls look too busy.

See Also