Vcl.Controls.TControlActionLink.SetDropdownMenu
Delphi
procedure SetDropdownMenu(Value: TPopupMenu); virtual;
C++
virtual void __fastcall SetDropdownMenu(Vcl::Menus::TPopupMenu* Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TControlActionLink |
Description
Declares the method to set the specified drop-down menu for the client's control.
As implemented in TControlActionLink,
SetDropdownMenu does not perform any action. In descendant classes, for example in the Vcl.ComCtrls.TToolButtonActionLink class, SetDropdownMenu sets the drop-down menu specified by the Value
parameter for the client of the action link if the action, associated by the action link to the client, controls the DropdownMenu property of the client. That is, if
IsDropdownMenuLinked is True
.
See Also
- System.Classes.TBasicActionLink.Action
- Vcl.Controls.TControlActionLink.FClient
- Vcl.Controls.TCustomControlAction.DropdownMenu
- Vcl.Controls.TControlActionLink.SetEnableDropdown
- Vcl.ComCtrls.TToolButtonActionLink.SetDropdownMenu
- Vcl.ComCtrls.TToolButtonActionLink.IsDropdownMenuLinked
- Vcl.ComCtrls.TToolButton.DropdownMenu