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

TCustomForm.CMActivate

Handles the CM_ACTIVATE control message for the form.

Declaration

Source position: forms.pp line 629

protected procedure TCustomForm.CMActivate(

  var Message: TLMessage

); message;

Arguments

Message

  

Control message for the notification.

Description

Ensures that the Menu for the MainForm in the Application is merged into the Menu for the form instance when FormStyle is fsMDIChild. This action is not performed at design-time, or when the MainForm or the Menu for the Application has not been assigned.

Calls Activate to signal the OnActivate event handler (when assigned) if needed.


Version 3.2 Generated 2024-02-25 Home