Vcl.ScreenTips.TCustomScreenTipsManager.CreateScreenTip
Delphi
function CreateScreenTip(aAction: TBasicAction): TScreenTipItem;
C++
TScreenTipItem* __fastcall CreateScreenTip(System::Classes::TBasicAction* aAction);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Vcl.ScreenTips.pas Vcl.ScreenTips.hpp |
Vcl.ScreenTips | TCustomScreenTipsManager |
Description
Creates a new screen tip and adds it to the collection.
The CreateScreenTip method is used to create a screen tip associated with an action given by the aAction parameter.
The method returns the screen tip item that is created. If aAction already has a screen tip, then the method returns nil for Delphi and NULL for C++, and an OnDuplicateCreateError event occurs.