Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a string
Message
From
02/12/1997 10:17:34
 
 
To
02/12/1997 09:59:42
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00063179
Message ID:
00063273
Views:
34
>>Why is it that the first line returns a blank and the second line returns a value?
>>
>>Thermo.lnPerc.Caption = Str(Thermo.lnCurrent) + "A"
>>
>>Thermo.lnPerc.Caption = Str(Thermo.lnCurrent)
>
>I'm not using VB much, but as I know VB uses '&' instead of '+' to concatenate strings.

I found the reason.

If the width of the control is not long enough, VB does not even show the label.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform