General information
Category:
Object Oriented Programming
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only