RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Forms.TShowHintEvent Type

TShowHintEvent is the type of the OnShowHint event handler.

Pascal
TShowHintEvent = procedure (var HintStr: string; var CanShow: Boolean; var HintInfo: THintInfo) of object;
C++
(var HintStr: string; var CanShow: Boolean; var HintInfo: THintInfo) ( TShowHintEvent)();

Forms

TShowHintEvent has the following parameters: 

HintStr sets the text of the Help Hint. You can change this string in the event handler to change the hint text that appears to the user. 

CanShow indicates whether the Help Hint should display. If the event handler sets CanShow to true, the Help Hint displays. If it sets CanShow to false, the Help Hint does not appear. 

HintInfo contains information about the appearance and behavior of the Help window. Change its fields to customize the way the Help Hint is displayed. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!