Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Forms - Resizer Class
Message
De
28/01/1999 22:22:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00166422
Message ID:
00181646
Vues:
13
Thanks,
I have not signed on for a while. That's the answer I was looking for.

>Robert,
>
>AutoSize=.t. labels don't get their .Width updated until the first form.Activate, the .Width is not correct at lbl.Init() or frm.Init() either. Right aligned labels don't necessarily need to be AutoSized.
>
>>I just built a resize class using the code found in the Jan. Foxpro Adviser article by Donald Bouchier. It works great. But I wanted to add an enhancement. I wanted to reposition selected labels based on the right alignment position rather than the left. I have a group of text I want to maintain the right alignment. Adding the code was not that hard but what I found was that in the Init of all labels the width calculates to 40. So I had to reset the "originalWidth" on all labels on the second call to the resize class to get the correct right alignment position. Am I missing something or what.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform