Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Bernard Bout
  Where is Bernard Bout?
 Brisbane
 Australia
 Bernard Bout
 To: Boudewijn Lutgerink
  Where is Boudewijn Lutgerink?
 Hoonaardstraat, Driel
 Netherlands
 Boudewijn Lutgerink
 Tags
Subject: RE: assign methods on standard properties
Thread ID: 155206 Message ID: 155265 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Friday, December 28, 2007 4:43:54 PM         
   


> > ... If you think about it, it makes sense that it doesn't fire for read only properties. After all, if the property is read only, you can't change it, so why have an assign method?
> >
> > -BP
> > www.peisch.com
>
> On one hand it does make sense to me indeed, have no doubt about that.
> OTOH, it is accessed by some mechanism in VFP itself, how else could it change if I add an item to a collection.
> The reason I would like to have some assign method is the fact that I need some message mechanism for checking whether the content of a collection is changed. The quest goes on then....
>
> Boudewijn LutgeĀ®ink
> http://www.vfpdevelopers-online.com
> Women and Cats just do their own thing, men and dogs should relax and accept this fact of life.

Depends on how you ADD to the collection. Is the collection just sitting there and items get added? Do you control the ADDING to this collection? Then just put code there to fire your own event/method.

Bernard

** If you see someone without a smile, give em one of yours :) **

ENTIRE THREAD

assign methods on standard properties Posted by Boudewijn Lutgerink @ 12/27/2007 7:37:49 PM
RE: assign methods on standard properties Posted by Barbara Peisch @ 12/27/2007 9:15:15 PM
RE: assign methods on standard properties Posted by Boudewijn Lutgerink @ 12/27/2007 11:26:09 PM
RE: assign methods on standard properties Posted by Barbara Peisch @ 12/27/2007 11:29:50 PM
RE: assign methods on standard properties Posted by Boudewijn Lutgerink @ 12/28/2007 9:58:38 AM
RE: assign methods on standard properties Posted by Emerson Reed @ 12/28/2007 11:24:23 AM
RE: assign methods on standard properties Posted by Bernard Bout @ 12/28/2007 4:42:00 PM
RE: assign methods on standard properties Posted by Bernard Bout @ 12/28/2007 4:43:54 PM
RE: assign methods on standard properties Posted by Boudewijn Lutgerink @ 1/2/2008 9:37:00 AM
RE: assign methods on standard properties Posted by Andy Kramek @ 1/2/2008 12:33:41 PM
RE: assign methods on standard properties Posted by Boudewijn Lutgerink @ 1/3/2008 9:34:49 AM