RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
RibbonActnCtrls.ShowKeyTip Function

Show KeyTip for control.

Pascal
function ShowKeyTip(const KeyTip: string; const Enabled: Boolean; const Control: TControl; const Position: TKeyTipPosition): TCustomControl; overload;
function ShowKeyTip(const KeyTip: string; const Enabled: Boolean; const Center: Boolean; const Rect: TRect; const Position: TKeyTipPosition): TCustomControl; overload;
C++
TCustomControl ShowKeyTip(const AnsiString KeyTip, const Boolean Enabled, const TControl * Control, const TKeyTipPosition Position);
TCustomControl ShowKeyTip(const AnsiString KeyTip, const Boolean Enabled, const Boolean Center, const TRect Rect, const TKeyTipPosition Position);

ShowKeyTip shows the KeyTip for control. 

The parameters are:

  • KeyTip: The KeyTip to display
  • Enabled: If the KeyTip should have an enabled appearance
  • Control: The control that the KeyTip is for. The KeyTip displays close to the control
  • Position - The position of the KeyTip. The position of the KeyTip can be either ktpCenter or ktpBottom. Most KeyTips are displayed with the bottom third of the control covered with the KeyTip.

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!