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:
00190270
Vues:
13
>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

Jonhn, if label.autosize =.f. and the label is short enough you will not see it because STR() gives you the leading spaces. Make it ALLTRIM(str(a)) and you will see the caption.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform