Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hacking the VCX! What controls ZOrderSet ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00392726
Message ID:
00392925
Vues:
9
Hi Roi

Yes I could do as you suggest. I used to write all my classes etc. in code and recently switched to the class designer so this is a new problem and part of the learning process.

Thanks
Simon


>Hi simon,
>
>Ken gave you the answer with designer order part. I just wanted to mention this is one of the problems you run into when you rely on controls instanciating in a specific order. Stuff breaks when the order is changed.
>
>Would it be possible for you to programaticly addobject the object from the forms load? That way it should be there when the other controls need it.
>
>>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
Simon White
dCipher Computing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform