Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh gets aborted by ZOrder
Message
 
To
14/10/2015 14:05:06
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01625937
Message ID:
01625952
Views:
51
>Refresh do the task with Control's index order, because control index = Zorder,
>then the last index = ControlCount it is the last refreshed member.
>
>object.ZOrder(0) set the object index to ControlCount, then Refresh process finished.

Thanks for the explanation, it is unfortunate that it works this way thou, and it would have been nice if it was documented "Do not use ZOrder in the refresh of objects contained in a container if you want it to work properly" :)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform