RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControlActionLink.DoShowHint Method

Indicates whether the hint is shown, and modified.

Pascal
function DoShowHint(var HintStr: string): Boolean; virtual;
C++
virtual __fastcall Boolean DoShowHint(AnsiString HintStr);

DoShowHint determines whether a hint is shown when the mouse moves across a control. DoShowHint also provides an opportunity to modify the hint, and/or append a shortcut to the end of the hint string. If either the application, the control, or the action veto showing the hint, then the hint is not shown. DoShowHint returns true by default. You can override this function to return false if the hint is not shown or modified, or if the shortcut is not appended. 

 

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