Sign in Join
FPDoc Onlineexperiment

CreateEmulatedTextHintFont function

In unit StdCtrls

Gets the font instance used for an emulated TextHint display.

Declaration

pascal
function CreateEmulatedTextHintFont(AWinControl: TWinControl): TFont

Function result

TFont instance used for the emulated TextHint.

Description

CreateEmulatedTextHintFont is a TFont function which gets the font instance used to display an emulated TextHint in the control. It is retrieved by calling the CreateEmulatedTextHintFont method in the widgetset class. Widgetset classes use the font assigned to the control, but change the font color to clGrayText.

CreateEmulatedTextHintFont is called from FontChanged, and the private ShowEmulatedTextHint method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.