Sign in Join
FPDoc Onlineexperiment

TContextPopupEvent procedure type

In unit Controls

Handler type for OnContextPopup.

Declaration

pascal
TContextPopupEvent = procedure(Sender: TObject; MousePos: TPoint; 
 var Handled: Boolean) of object

Arguments

Sender

The clicked control.

MousePos

Mouse position in client coordinates; (-1,-1) if the event was not generated by a mouse click.

Handled

Set Handled to True when everything was handled; False shows the associated PopupMenu, by default.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.