TLCLReferenceComponent class
Base class for all components having an associated widget with a handle.
Declaration
TLCLReferenceComponent = class(TLCLComponent)Inheritance
- TLCLReferenceComponent
- TLCLComponent
- TComponent
- TPersistent
- TObject
Descends from it: TCustomImageListResolution
Description
The widget is created by the LCL control whenever required, and its reference is stored in the FReferencePtr member. This reference is for internal use by the LCL control, and not by application code.
This reference is different from the OS/window manager-specific window Handle.
Applications only can send messages to a windowed control, using its window Handle.
Modified in LCL version 4.0 to use the TLCLHandle type instead of the deprecated THandle type as the return value for the GetReferenceHandle method.
See also
Properties
HandleAllocated | public | If True, a Reference has been allocated for this component. |
ReferenceAllocated | public | If True, a Reference has been allocated for this component. |
Methods
CreateParams | protected | Override this method to supply specific widget creation parameters. |
DestroyReference | protected | Destroys the reference object. |
GetReferenceHandle | protected | Override this method to return the Handle from the reference. |
ReferenceCreated | protected | Called after the Reference is created. |
ReferenceDestroying | protected | Called before the Reference is destroyed. |
ReferenceNeeded | protected | Creates the widgetset Reference for the class, if it has not already been allocated. |
WSCreateReference | protected | Tells the widgetset to create a Reference. |
WSDestroyReference | protected | Tells the widgetset to destroy the Reference. |
Destroy | public | Destructor for the class instance. |
Inherited
From TLCLComponent (8)
DecLCLRefCount GetWSComponentClass IncLCLRefCount LCLRefCount NewInstance RemoveAllHandlersOfObject WidgetSetClass WSRegisterClass
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.
