[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Controls' (#lcl)

# TWinControl.WSRegisterClass

Registers the class instance for use in the widgetset.

## Declaration

Source position: controls.pp line 2154

`protected class procedure TWinControl.WSRegisterClass; override;`

## Description

No actions are performed in the method when the class type has already been registered in the widgetset.

Calls the inherited method on entry to ensure that the TControl class type has been registered in the widgetset. Calls the widgetset routine used to register the TWinControl class type.

Registers properties in TWinControl which are ignored during LCL component streaming. These are Delphi / VCL compatibility properties like ParentDoubleBuffered, ImeMode, and ImeName. They are not used in the LCL.

## See also

TControl.WSRegisterClass |  | Registers this component class with the current WidgetSet.
TLCLComponent.WSRegisterClass |  | Registers this component class with the current WidgetSet.