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

type TCustomFrame = class(TScrollingWinControl)

  class procedure WSRegisterClass; override;

  

Registers this component class with the current WidgetSet.

protected

  procedure GetChildren(); override;

  

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

  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;

public

  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,IUnknown,IInterfaceComponentReference

|

TPersistent

|

TObject

Description

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

This page is hosted on Get Lazarus Code and Component Repository at SourceForge.net. Fast, secure and Free Open Source software downloads