Sign in Join
FPDoc Onlineexperiment

TControl.ActiveDefaultControlChanged procedure

Member of TControlpublicIn unit Controls

Notification of a changed active DefaultControl of a form.

Declaration

pascal
procedure ActiveDefaultControlChanged(NewControl: TControl); virtual

Arguments

NewControl

The new DefaultControl.

Description

When the user pressed ENTER in a form, its DefaultControl will receive a Click event.

Errors

Currently NewControl can be Nil, even if it should not be.

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