Página 1 de 1

AppData

Publicado: Jue May 22, 2008 8:48 am
por Nick Hilder
Howdy
I have been working on a rather big project and created a heap of classes. I
couldn't get them to show up in the debugger, and I knew I had seen someone
ask this question. Anyway I dug around and found a post stating that you
must inherit TComponent and use Property.
I had used Property everywhere, so all I had to add was the FROM TComponent
and all my objects started showing up
I have been making extensive use the TAppData class, keeping all my base
settings in here, it works a treat.
The Problem I have now found is AppData doesn't inherit TComponent and you
can only add DATA's to it
So, can I just change XailerSourcesAppData.prg so that XAppData Inherits
from TComponent (I think this is bad, because an Xailer update would breeak
this )
Can I add a Method to my TAppData class that I have derived from XAppData
that allows me to add properties, instead of Data's?
Also, and this is easy, can you please put a "The Debugger " section under
the OOP section in the help that explains the needs for classes to inherit
from TComponent and fields etc must be Properties if you want them visible.
Cheers
Nick

AppData

Publicado: Vie May 23, 2008 1:36 pm
por jfgimenez
Nick,
> Can I add a Method to my TAppData class that I have derived from XAppData
> that allows me to add properties, instead of Data's?
We'll review it ASAP.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

AppData

Publicado: Vie May 23, 2008 1:36 pm
por jfgimenez
Nick,
> Can I add a Method to my TAppData class that I have derived from XAppData
> that allows me to add properties, instead of Data's?
We'll review it ASAP.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info