Sign in Join
FPDoc Onlineexperiment

TCustomPage.CheckNewParent procedure

Member of TCustomPagepublicIn unit ComCtrls

Ensures that the specified control is derived from TCustomTabControl.

Declaration

pascal
procedure CheckNewParent(AParent: TWinControl); override

Arguments

AParent

Parent control examined in the method.

Description

Raises an EInvalidOperation exception when AParent is not derived from TCustomTabControl. Calls the inherited CheckNewParent method when AParent is unassigned or derived from TCustomTabControl.

Errors

Raises an EInvalidOperation exception when AParent is not derived from TCustomTabControl.

See also

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