Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Label
Divers
Thread ID:
00190268
Message ID:
00190269
Vues:
15
John,

STR() by default returns a 10 character right justified string. My guess is that your label is too narrow to display the spaces to the left of your number and the number itself. You could use LTRIM(STR(a)) or make your label wider or set its Autosize to .T.

>Hi,
> I would Like to set value to Label.caption. The value is in numeric type. I tried out the following code, it made the label invisible/(I don see it) in my form.......any ideas???
>
> a = a + b
> Thisform.Label1.caption = str(a)
>
>
>Thank you
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform