Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textboxes and values...
Message
De
22/12/1999 16:42:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00307522
Message ID:
00307594
Vues:
21
>David,
>
>The .Text property is read only and contains the unformatted text entered. The .Value property is read/write and contains the formatted text entered.
>
>So, the equation below should work.
>
>>maxlength on both textboxes are 0 so its not that ut how could i do this? form2.text1.value = form2.text1.text + form1.text1.text
>>.......should this work? is there any syntax errors in that?

You may want to use the minus sign to connect the strings. This will trim off any trailing spaces from the first string.
form2.text1.value = form2.text1.text - form1.text1.text

You could also use a "T" in the format property of the textbox to trim spaces, but I'm not sure if this has any effect on the .text properties. You may need to use .value for this trimming to work.

-David-
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform