TControl.DoContextPopup procedure
Signals the OnContextPopup handler.
Declaration
procedure DoContextPopup(MousePos: TPoint; var Handled: Boolean)
; virtualArguments
MousePos | TPoint instance with the Mouse position, used to place the menu. |
Handled | Set to True in the event handler if the menu display and selection was handled for the control. |
Description
DoContextPopup is a method used to signal the OnContextPopup event
handler (when assigned). The control instance is used as the Sender argument.
Values in MousePos and Handled are also passed as parameters to the event
handler. Handled should be set to
True in the handler routine if the
context pop-up was displayed and a menu item was executed.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
