Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBarCustomButton.DoDropDown(TdxBarButtonControl,Integer,Integer,Boolean) Method

Activates an associated dropdown menu.

#Declaration

Delphi
procedure DoDropDown(AControl: TdxBarButtonControl; X: Integer; Y: Integer; ByMouse: Boolean); dynamic;

#Parameters

Name Type
AControl TdxBarButtonControl
X Integer
Y Integer
ByMouse Boolean

#Remarks

This procedure is used internally to activate a dropdown menu. The procedure drops down a menu only if the ButtonStyle property is set to bsDropDown or bsCheckedDropDown.

X and Y specify the coordinates (in pixels) of the menu’s display position.

If True is passed as the ByMouse parameter, the menu is activated by mouse click events.

Descendants can override the procedure to perform special actions on menu activation.

See Also