Sign in Join
FPDoc Onlineexperiment

TLCLComponent.GetWSComponentClass function

Member of TLCLComponentprotectedIn unit LCLClasses

This method allows descendants to override the WidgetSetClass.

Declaration

pascal
class function GetWSComponentClass(ASelf: TLCLComponent)
: TWSLCLComponentClass; virtual

Arguments

ASelf

Component instance examined in the method.

Function result

Class type used to create instances of the specified component.

Description

GetWSComponentClass is a TWSLCLComponentClass class function which allows descendants to override the WidgetSetClass class type used to create instances of the component. When WidgetSetClass has not been assigned (contains Nil), the return value is set to the TWSLCLComponent type.

See also

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