Vcl.RibbonActnCtrls.ShowKeyTip

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE Vcl::Controls::TCustomControl* __fastcall ShowKeyTip(const System::UnicodeString KeyTip, const bool Enabled, const bool Center, const System::Types::TRect &Rect, const TKeyTipPosition Position)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Vcl.RibbonActnCtrls.pas
Vcl.RibbonActnCtrls.hpp
Vcl.RibbonActnCtrls Vcl.RibbonActnCtrls

Description

Show KeyTip for control.

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.

See Also