Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access and Assign
Message
From
23/12/1998 16:52:28
George Lee
Microcomputer Engineering Services, Llc
Huntington Beach, California, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00169870
Message ID:
00170100
Views:
22
>Has anyone looked at the locking behavior of _Access and _Assign methods? I know for example that the _Assign method will not fire if it changes its own property. I suspect that the property being managed by the _Access or _Assign method cannot be changed while the code is running. Does anyone know if other property values can be changed from outside the object while one property's _Access or _Assign code is running?
>The basic question is how many semaphores does VFP use to control access to object properties (one per object instance, one per class, one per property)?
>
>TIA
>Ned

What about the _Access/_Assign bug. Apparently the _Assign method plays havoc with the GetFldState() method. Especially, if you are using an _Assign method on a form which also happens to navigate through a table. Every time you navigate to a new record the _Assign fires and unfortunately the GetFldState at this point acts as if a change has been made to the data.

I'm paraphrasing but this comes from an article in the LA Fox Developer written by Russell Campbell.

Dan
Previous
Reply
Map
View

Click here to load this message in the networking platform