Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's Wrong With This....????
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00716580
Message ID:
00716589
Vues:
16
Kevin,

Do you per chance have the .AutoSize property set to .T. for the label controls?

Doug

>I have 2 labels, side by side.
>
>When I change the caption of lblLeft, I want to move lblRight over to the right.
>
>This code is in the Assign Method of lblLeft's Caption Property
>
>LPARAMETERS cNewCaption
>
>  WITH This
>
>    .lblLeft.Caption = ALLTRIM(cNewCaption)
>    .lblRight.Left = .lblLeft.Left + .lblLeft.Width + 15
>
>  ENDWITH
>
>RETURN
>
>
>The problem is that the Width value is not changing. If I set
>lblLeft's caption in the property sheet, the width changes. But
>here in code it does not work.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform