Sign in Join
FPDoc Onlineexperiment

TDBImage.WSRegisterClass procedure

Member of TDBImageprotectedIn unit DBCtrls

Register the component class with the widgetset.

Declaration

pascal
class procedure 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

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