Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Collection class question
Message
From
02/07/2006 18:00:54
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
02/07/2006 12:31:08
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01133326
Message ID:
01133338
Views:
13
>Is there any way to know when number of items is changed in Collection class?
>
>What I need is some event in that class which will trigger every time new item is added or removed so I could put some code there.

AFAIK, there's no other way to add an item but to use .add() method. You can just subclass and add your code to this method. Don't forget a dodefault(...) :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform