Sign in Join
FPDoc Onlineexperiment

TLCLComponent class

In unit LCLClasses

The base class for LCL components which have an associated widget.

Declaration

pascal
TLCLComponent = class(TComponent)

Inheritance

  1. TLCLComponent
  2. TComponent
  3. TPersistent
  4. TObject

Descends from it: TApplicationProperties TCommonDialog TControl TCustomActionList TCustomImageList TCustomTaskDialog TCustomTrayIcon TLCLReferenceComponent TMenu TMenuItem TScreen

Description

TLCLComponent is a TComponent descendant which is used as the ancestor for many components in the Lazarus Component Library ( LCL), including:

  • TApplicationProperties
  • TCommonDialog
  • TControl
  • TCustomImageList
  • TCustomTrayIcon
  • TLCLReferenceComponent
  • TMenu
  • TMenuItem
  • TScreen

See also

Properties

LCLRefCountpublicThe number of references to this component.
WidgetSetClasspublicThe class type used to create instances of this component.

Methods

WSRegisterClassprotectedRegisters this component class with the current WidgetSet.
GetWSComponentClassprotectedThis method allows descendants to override the WidgetSetClass.
DestroypublicDestructor for the class instance.
NewInstancepublicCreates and registers a new instance of the class, and initializes the WidgetSetClass property.
RemoveAllHandlersOfObjectpublicOverride this method to remove all references to notification handlers in AnObject.
IncLCLRefCountpublicThe number of references to this component.
DecLCLRefCountpublicDecrements the reference counter for the LCL component.

Inherited

From TComponent (75)

_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle Create DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name Notification ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReadState ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState

From TPersistent (5)

Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (36)

AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.