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

TControl.OnShowHint

Event handler signalled when a hint window is displayed for the control.

Declaration

Source position: controls.pp line 1746

public property TControl.OnShowHint : TControlShowHintEvent
  read FOnShowHint
  write FOnShowHint;

Description

OnShowHint is a TControlShowHintEvent property with the event handler signalled when a hint window is displayed for the control. Arguments to the event handler include the control instance for the event notification, and a pointer to the structure with the Hint details for the control.

OnShowHint has public visibility in TControl, but may be redeclared in descendent classes to make it visible in the object inspector. An application must implement and assign a handler routine to respond to the event notification.

OnShowHint is signalled from the DoOnShowHint method (when assigned), and occurs when the CM_HINTSHOW control message is handled for the control.

Set ShowHint to True to enable hint window display using the value(s) in the Hint property.

See also

TControl.Hint

  

The text to show in the Hint window for the control.

TControl.ShowHint

  

Enables Hint display for the control.

TControl.DoOnShowHint

  

Invokes the OnShowHint event handler.

TControlShowHintEvent

  

Type used to implement an OnShowHint event handler.

THintInfo

  

Contains content and state information for Hints displayed for a window or control.

PHintInfo

  

Pointer to a THintInfo instance.



CT Web help

CodeTyphon Studio