Vcl.Ribbon.TCustomRibbonQuickAccessToolbar.DoContextPopup
Delphi
procedure DoContextPopup(MousePos: TPoint; var Handled: Boolean); override;
C++
DYNAMIC void __fastcall DoContextPopup(const System::Types::TPoint &MousePos, bool &Handled);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Ribbon.pas Vcl.Ribbon.hpp |
Vcl.Ribbon | TCustomRibbonQuickAccessToolbar |
Description
Is an OnContextPopup event dispatcher.
Vcl.Ribbon.TCustomRibbonQuickAccessToolbar.DoContextPopup inherits from Vcl.Controls.TControl.DoContextPopup. All content below this line refers to Vcl.Controls.TControl.DoContextPopup.
Is an OnContextPopup event dispatcher.
OnContextPopup calls any event handler attached to the OnContextPopup event. When creating a component that descends from TControl override OnContextPopup to provide other responses in addition to the inherited event-handler call when the user invokes the control's context menu.
MousePos indicates the position where the user right-clicked the control. If the user invoked the context menu using the keyboard, MousePos is (-1,-1).
Handled returns a Boolean value indicating whether the control should continue with its default response to the user action.