Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement