Sign in Join
FPDoc Onlineexperiment

TCustomForm.CMActivate procedure

Member of TCustomFormprotectedIn unit Forms

Handles the CM_ACTIVATE control message for the form.

Declaration

pascal
procedure 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.