Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Barbara Peisch
  Where is Barbara Peisch?
 Oceanside
 California - United States
 Barbara Peisch
 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: 155216 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Thursday, December 27, 2007 11:29:50 PM         
   


> >
> > It's because the Count property is read only. The help file says, "You can create Assign methods for properties that are read-only; however, the method never executes."
> >
> > -BP
> > www.peisch.com
>
> Does that mean it will execute on props that are NOT read-only?
>
> 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.

Yes. And 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

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