[Overview][Types][Classes][Index] Reference for unit 'LCLClasses' (#lcl)

TLCLComponent

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

The base class for LCL components associated with widgets.

Declaration

Source position: lclclasses.pp line 42

type TLCLComponent = class(TComponent) end;

protected

  class procedure WSRegisterClass; virtual;

  

Registers this component class with the current WidgetSet.

  class function GetWSComponentClass(); virtual;

  

This method allows descendents to override the WidgetSetClass.

public

  constructor Create(); override;

  destructor Destroy; override;

  class function NewInstance; override;

  

Registers the class and initializes WidgetSetClass.

  procedure RemoveAllHandlersOfObject(); virtual;

  

Override this method to remove all references to notification handlers in AnObject.

  procedure IncLCLRefCount;

  procedure DecLCLRefCount;

  property LCLRefCount: Integer; [r]

  

The number of references to this component.

  property WidgetSetClass: TWSLCLComponentClass; [r]

  

The widget for this component is derived from WidgetSetClass.

Inheritance

TLCLComponent

  

The base class for LCL components associated with widgets.

|

TComponent

?

TObject

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