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

# TCustomMemo.CanShowEmulatedTextHint

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

## Declaration

Source position: stdctrls.pp line 932

`protected function TCustomMemo.CanShowEmulatedTextHint: Boolean; override;`

## Function result

True when an emulated TextHint can be displayed for the control.

## Description

CanShowEmulatedTextHint is an overridden Boolean function in TCustomMemo, and does not call the inherited method in its implementation.

CanShowEmulatedTextHint determines whether an emulated TextHint can be displayed for the control. Normally, this requires a control handle and an unassigned value in the control text. In addition, some widgetsets implement text hints natively, and do not require LCL to emulate the capability (Windows, QT5, QT6). Emulated hint displays can also be suppressed when the widgetset class is being freed (when the Lines in the control have already been destroyed).

The current implementation always returns False for Memo controls.

## See also

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