Vcl.RibbonActnCtrls.ShowKeyTip

提供: RAD Studio API Documentation
移動先: 案内検索

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
  • EnabledKeyTip の表示を有効にします。
  • ControlKeyTip を表示するコントロール。KeyTip は、コントロールの近くに表示されます
  • PositionKeyTip の位置。KeyTip の位置は、ktpCenter または ktpBottom のいずれかです。ほとんどの KeyTip は、KeyTip が表示されるコントロールの下から 1/3 のあたりに表示されます。