Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label in different location at runtime
Message
De
20/08/2001 13:33:46
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00546307
Message ID:
00546323
Vues:
19
>I am once again embarking on modifiying an old app here written in VFP 6.0.
>
>It has a composite form.
>
>This form has lots of labels.
>
>One in particular I have to change it's caption.
>
>I did.
>
>Now after compiling, it does NOT stay place on the screen where it was designed for!! BAD,BAD,BAD label!!!
>
>It is right-aligned and same size as the other labels.
>
>Yet, when you run the app, it goes halfway across the screen, but the other labels are aligned properly about a quarter of the way across the screen.
>
>Have you seen this behavior before? Any ideas??

Yeah, I see this a lot with right-aligned labels. Sometimes deleting the label and recreating it works. But more often I just shrug my shoulders and put a THIS.LEFT = THIS.LEFT in the Init() of the label. What a pain, huh?

BTW, I'm assuming you don't have conflicting properties set like wordwrap = .t. and autosize = .t..
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform