Vcl.RibbonActnCtrls.TKeyTipValidator.Validate
Delphi
class procedure Validate(const SrcKeyTip, CmdKeyTip: string; Control: TControl; var Handled: TKeyTipHandled);
C++
__classmethod void __fastcall Validate(const System::UnicodeString SrcKeyTip, const System::UnicodeString CmdKeyTip, Vcl::Controls::TControl* Control, TKeyTipHandled &Handled);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.RibbonActnCtrls.pas Vcl.RibbonActnCtrls.hpp |
Vcl.RibbonActnCtrls | TKeyTipValidator |
Description
Validates a KeyTip.
Validate validates a KeyTip given by the SrcKeyTip
source and the CmdKeyTip
key tip. The method is used to validate that a command's KeyTip matches the current user input.