Avatar of Marius0188

asked on 

Delphi 7 :: Component Creation - Set Caption to '' in Create not working

Dear Experts,

I simple question please.
I have previously read about this but can not find the article now.

In my component constructor I initialize my property values.
All properties to take their initialized values except for the "Caption" property.
When settings
Caption := '';
in the constructor it is not working. When dropping this component (TCustomPanel) on a TForm it still has the default caption of "MyCustomPanel1".

Please help.

Avatar of undefined
Last Comment

8/22/2022 - Mon