Help Using CollectionBase OnSet and OnSetComplete

G

graeme gorman

Hi

I have a class that inherits CollectionBase - now what I want is to be able
to validate data when it is updated in the List (I need to make sure that
certain values are not duplicates) so I thought I could override the OnSet
and OnSetComplete functions but they never seem to get called.

Note though that the data is being populated in a PropertyGrid using the
Collection Editor UITypeEditor...

Whats the best way of going about using the OnSet and OnSetComplete
functions...

Thanks
Graeme
 
G

graeme gorman

Hi

I have worked out that it is the PropertyGrid and CollectionEditor causing
the problem so I'm looking into that now

Thanks
Graeme
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top