Unit 'DBCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TDBImage.WSRegisterClass

Register the component class with the widgetset.

Declaration

Source position: dbctrls.pp line 1181

protected class procedure TDBImage.WSRegisterClass; override;

Description

WSRegisterClass is a class method used to register the component class with the widgetset.

It is overridden in TDBImage to ensure that the class is registered only once. No actions are performed in the method if the class has already been registered with the widgetset. It calls the inherited method to register ancestor image classes.

TDBImage calls RegisterPropertyToSkip to exclude the Picture property during LCL component streaming. TDBImage loads its Picture data from the data set, and not from an LFM resource. Picture was removed in Lazarus version 0.9.29.

See also

TCustomImage.WSRegisterClass

  

Registers the class with the widgetset.

TCustomImage.Picture

  

Contains the image displayed in the control.

RegisterPropertyToSkip