[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomComboBox.CanShowEmulatedTextHint

Indicates whether an emulated TextHint can be displayed for the control.

Declaration

Source position: stdctrls.pp line 343

protected function TCustomComboBox.CanShowEmulatedTextHint: Boolean; virtual;

Function result

True when emulated TextHints are used, and the control state allows the hint display.

Description

CanShowEmulatedTextHint is a Boolean function which indicates whether an emulated text hint can be displayed for the control. Emulated text hints are the fallback mechanism used when text hints are not natively supported for a platform / widgetset.

The return value is True when all of the following conditions are met:

CanShowEmulatedTextHint is called during execution of the InitializeWnd method, when the LM_KILLFOCUS window message is handled for the control, and when a new value is assigned to the TextHint property.


Version 3.2 Generated 2024-02-25 Home