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

TLCLComponent

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

TLCLComponent - base class for LCL components

Declaration

Source position: lclclasses.pp line 38

type TLCLComponent = class(TComponent)

  class procedure WSRegisterClass; virtual;

  

WSRegisterClass - Register this Class for the current Widget Set

public

  constructor Create(); override;

  

Create - constructor for TLCLComponent: calls inherited Create

  destructor Destroy; override;

  

Destroy - destructor for TLCLComponent: calls inherited Destroy

public

  class function NewInstance; override;

  

NewInstance - performs inherited NewInstance to allocate space on the heap, and loads the correct WidgetSet

public

  procedure RemoveAllHandlersOfObject(); virtual;

  

RemoveAllHandlersOfObject - method for removing all of an object's handlers: part of a clean-up procedure

  procedure IncLCLRefCount;

  

IncLCLRefCount - method for incrementing the reference count

  procedure DecLCLRefCount;

  

DecLCLRefCount - method for decrementing the reference count

  property LCLRefCount: Integer; [r]

  

LCLRefCount - the number of references to this component

  property WidgetSetClass: TWSLCLComponentClass; [r]

  

WidgetSetClass - the set of Widgets to be used by this Component

end;

Inheritance

TLCLComponent

  

TLCLComponent - base class for LCL components

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent

|

TObject

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