[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TWinControl.CMExit

Handles the CM_EXIT control message for the control.

Declaration

Source position: controls.pp line 2135

protected procedure TWinControl.CMExit(

  var Message: TLMessage

); message;

Description

CM_ENTER and CM_EXIT messages occur when the active control is changed on a form.

Calls DoExit to signal the OnExit event handler (when assigned).

See also

TWinControl.DoExit

  

Invoke the OnExit event handler.

TWinControl.OnExit

  

Handler for control loosing the focus; This is a good place for checking the finished user input.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.