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

TWSReference

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

Represents a reference to a widget set class instance.

Declaration

Source position: wsreferences.pp line 40

type TWSReference = object

protected

  FRef: ;

  

Variant record type which allows access to TLCLHandle and Pointer values in the reference.

public

  procedure _Clear;

  

Clears the handle assigned in the reference.

  procedure _Init();

  

Stores the specified handle or pointer to an internal member in the reference.

  property _Handle: TLCLHandle; [r]

  

  property Allocated: Boolean; [r]

  

Contains True if a handle has been assigned in the reference.

  property Ptr: Pointer; [r]

  

Returns a Pointer with the handle for the reference.

end;

Inheritance

TWSReference

  

Represents a reference to a widget set class instance.

Description

Abstract (temporary) base object for all references to widgetset classes. This reference replaces the functionality of a Handle. An object is used to disallow assignments using different types of handles. It is used as the base class for widgetset descendants like TWSCustomImageListReference, TWSGDIObjReference, TWSDeviceContextReference, and TWSIconReference.


Version 4.0 Generated 2025-05-03 Home