 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Narcis Florea Guest
|
Posted: Thu Oct 23, 2003 1:46 pm Post subject: Writting TClassProperty |
|
|
Hi
I have a component where I want put a ClassProperty having subproperties.
How can I use GetProperties method, I didn't found any examples or
documentation about this, except I must override and pass apropriate
property editors
Thanx for any good advice.
|
|
| Back to top |
|
 |
Marc Rohloff Guest
|
Posted: Thu Oct 23, 2003 2:26 pm Post subject: Re: Writting TClassProperty |
|
|
On Thu, 23 Oct 2003 15:46:38 +0200, Narcis Florea<narcis (AT) terrasoft (DOT) ro>
said ...
| Quote: | Hi
I have a component where I want put a ClassProperty having subproperties.
How can I use GetProperties method, I didn't found any examples or
documentation about this, except I must override and pass apropriate
property editors
|
I am not sure if I understood but you would normally create a TPErsistent
descendant class with your sub-properties and then create an instance of
this in you rmain class and publish the whole class as a property of the
main class. You don't need any custom property editors for this.
Look at the source code for the TFont property for an example of this.
Marc
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|