Vcl.RibbonActnCtrls.ShowKeyTip

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 */;

Propriétés

Type Visibilité  Source Unité  Parent
function public
Vcl.RibbonActnCtrls.pas
Vcl.RibbonActnCtrls.hpp
Vcl.RibbonActnCtrls Vcl.RibbonActnCtrls

Description

Affiche le raccourci clavier (KeyTip) d'un contrôle.

ShowKeyTip affiche le raccourci clavier (KeyTip) d'un contrôle.

Les paramètres sont les suivants :

  • KeyTip : Le raccourci clavier à afficher
  • Enabled : Si le raccourci clavier (KeyTip) doit avoir une apparence activée
  • Control : Le contrôle auquel le raccourci clavier (KeyTip) est affecté. Le raccourci clavier s'affiche près du contrôle.
  • Position - La position du raccourci clavier (KeyTip). La position du raccourci clavier peut être ktpCenter ou ktpBottom. La plupart des raccourcis clavier sont affichés avec le tiers inférieur du contrôle recouvert par le raccourci clavier.