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

TCustomFrame

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

The base type for TFrame.

Declaration

Source position: forms.pp line 286

type TCustomFrame = class(TCustomDesignControl) end;

protected

  class procedure WSRegisterClass; override;

  

Registers this component class with the current WidgetSet.

  procedure Notification(); override;

  

Also handles add/remove of ActionLists.

  procedure SetParent(); override;

  

Also updates the ActionLists.

  procedure DefineProperties(); override;

  procedure CalculatePreferredSize(); override;

  

Override this method to return the preferred height and width.

public

  constructor Create(); override;

  procedure GetChildren(); override;

  

Invokes Proc for all Controls and also for all Components with no Parent.

  class function GetControlClassDefaultSize; override;

  

Returns the default size for this class of controls (when added to a form).

Inheritance

TCustomFrame

  

The base type for TFrame.

|

TCustomDesignControl

|

TScrollingWinControl

  

Class of a windowed control with incorporated scroll bars.

|

TCustomControl

  

The base class for windowed controls which paint themselves.

|

TWinControl

  

The base class for controls which can contain other (child) controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components associated with widgets.

|

TComponent

?

TObject

Description

Frames can be designed like Forms and used like custom controls, without much coding or installation in the IDE.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.