Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a string
Message
De
02/12/1997 10:17:34
 
 
À
02/12/1997 09:59:42
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00063179
Message ID:
00063273
Vues:
40
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform