TCustomFrame.Create constructor
Constructor for the class instance.
Declaration
constructor Create(AOwner: TComponent); overrideDescription
Create is the overridden constructor for the class instance. Create calls the inherited method using AOwner as the owner for the class instance. Create sets the ControlStyle property to the following enumeration values:
- csAcceptsControls
- csCaptureMouse
- csClickEvents
- csSetCaption
- csDoubleClicks
- csParentBackground
Create uses the default size for its class type to set the initial bounds for the control.
Errors
Raises an EResNotFound exception at run-time if the ClassType for the class instance is not derived from TFrame.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
