Vcl.Controls.TControlActionLink.SetDropdownMenu

From RAD Studio API Documentation
Jump to: navigation, search

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