Vcl.RibbonActnCtrls.ShowKeyTip
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 */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Vcl.RibbonActnCtrls.pas Vcl.RibbonActnCtrls.hpp |
Vcl.RibbonActnCtrls | Vcl.RibbonActnCtrls |
説明
KeyTip をコントロールに表示します。
ShowKeyTip は、KeyTip をコントロールに表示します。
パラメータは、以下のとおりです。
- KeyTip: 表示する KeyTip。
- Enabled: KeyTip の表示を有効にします。
- Control: KeyTip を表示するコントロール。KeyTip は、コントロールの近くに表示されます
- Position: KeyTip の位置。KeyTip の位置は、ktpCenter または ktpBottom のいずれかです。ほとんどの KeyTip は、KeyTip が表示されるコントロールの下から 1/3 のあたりに表示されます。