Sign in Join
FPDoc Onlineexperiment

TButtonPanel.OnEnter property

Member of TButtonPanelpublishedIn unit ButtonPanel

Declaration

pascal
property OnEnter: ;

Description

Not described here; this is what TWinControl.OnEnter says of it:

Event handler signalled when the control receives focus.

OnEnter is a TNotifyEvent property with the event handler signalled when the control receives focus. It is signaled from the DoEnter method, and occurs when the CM_ENTER control message is received and handled for the control.

The Sender argument contains the object for the event notification, and must be cast to TControl, TWinControl, or other descendent class to access properties or methods specific to the implementation.

Use OnExit to perform actions needed when the control loses focus.

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