Sign in Join
FPDoc Onlineexperiment

TApplication.DoBeforeMouseMessage procedure

Member of TApplicationpublicIn unit Forms

Performs actions needed before a mouse message is processed in the application.

Declaration

pascal
procedure DoBeforeMouseMessage(CurMouseControl: TControl)

Description

DoBeforeMouseMessage ensures that the value in MouseControl is updated before the mouse message is handled in the application. It calls UpdateMouseControl to assign the control under the mouse pointer to the CurMouseControl argument.

DoBeforeMouseMessage is called when messages are exchanged between a widgetset class instance and the LCL application.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.