[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

  

Signals the OnExit event handler (when assigned) when the control loses focus.

TWinControl.OnExit

  

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