Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Label
Miscellaneous
Thread ID:
00190268
Message ID:
00190269
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform