 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Larry Guest
|
Posted: Fri Jan 13, 2006 2:42 pm Post subject: TCollection design-time functionality |
|
|
Hi,
I am new to component building and I'm trying to get some code to
execute when editing a TCollection property in the Object Inspector.
I'm using Delphi 2006 (excellent!).
In my component, I have created my own custom TCollection and my own
custom TCollectionItem object. When I drop my object on a form and
click on the property, the IDE displays the Collection Editor. What I
wish to do is execute some code just before the Delphi IDE displays the
Collection Editor.
Basically, I'm trying to copy the behaviour of the TADOStoredProc
"Parameters" property. In the Object Inspector, if you click on the
"..." button in the "Parameters" property, some code runs that
automatically populates this collection if there are no items present.
This code runs before the Collections Editor appears.
Does anybody know how to replicate this behaviour, or will I have to
build my own custom editor?
Thanks,
Larry
Cape Town.
|
|
| 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
|
|