Thank you very much @Blaazen
this is working fine when the program is running but it is also not working in design time
also what about the other properties? fonts,text,caption etc.
in the above example i added a text property Tcaption
a boolean property and some other using different types int, string, etc.
and expected to see them in the property editor but they are not there.
i'm sure i'm missing something here