Unit 'StdCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomEdit.CanShowEmulatedTextHint

Indicates if the value in TextHint can be displayed in the edit control.

Declaration

Source position: stdctrls.pp line 797

protected function TCustomEdit.CanShowEmulatedTextHint: Boolean; virtual;

Function result

True when the emulated text hint can be displayed.

Description

CanShowEmulatedTextHint is a Boolean function which indicates if the value in TextHint can be emulated for the edit control. The return value is True when the following conditions are met:

CanShowEmulatedTextHint is used in the WMKillFocus method, and when the values in Text or TextHint are applied for the control.

Remark: In the current LCL implementation, TextHint display is emulated for all widgetsets except Win32/Win64 (since ComCtIVersionIE6) and QT5.

See also

TCustomEdit.Text

  

The text displayed and edited for the control.

TCustomEdit.TextHint

  

Default hint text shown when the Text property is empty for the control.

TWinControl.Focused

  

Checks whether the control has focus.

TComponent.ComponentState