Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hacking the VCX! What controls ZOrderSet ?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00392726
Message ID:
00392732
Views:
10
Hi Simon,

The only way to control the order of instanciation in the designer(s) at this point is to use the 'Bring To Front' and 'Send to back'.

A control sent to the front is the last to be instanciated, a control sent to the back is the first.

Hopefully there will be better control over this in a future version of VFP.

>Hi
>
>I was using the class designer to design a form. The formed work well for awhile then started to give me an error message when I tried to create it. I eventually discovered that it was loading the controls in a different order than I had created them. One control in particular must be the first control added to the form because it serves as a my custom data environment.
>
>When I looked at the list of controls on the form with the property editor I noticed that my data environment was not longer the first control in the list.
>
>After going through the VCX file I discovered that the ZOrderSet property controls the order that the controls are added to the form. Why would the class designer be changing this?
>
>I cannot find anywhere to adjust this property in the class designer, so I assume it must be an internal parameter. Is there an easier way to fix this kind of problem other than hacking the VCX?
>
>Thanks
>Simon White
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform