Hello.
Is any body know how can I define Array (or dinamic array) of class with events ???
Thanks
Printable View
Hello.
Is any body know how can I define Array (or dinamic array) of class with events ???
Thanks
It seems to me Cakkie (or another great ones') answered this a fiew days ago.
You cannot have array with events in VB.
Special thanks to Lothar "the Great" Haensler, Tom Archer, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
IN order to use withevents you need to build a collection class instead of an array. Your collection class can raise events to the the calling application.