[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 253

type TCustomFrame = class(TScrollingWinControl)

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).

end;

Inheritance

TCustomFrame

  

The base type for TFrame.

|

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.