Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement