Help Using CollectionBase OnSet and OnSetComplete

  • Thread starter Thread starter graeme gorman
  • Start date Start date
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
 
Hi

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

Thanks
Graeme
 
Back
Top