Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textboxes and values...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00307522
Message ID:
00307545
Views:
30
>Lets say i have 2 forms named form1 and form2...ok?
>i want a button to make form1's textbox text to append the the end of form2's textbox.
>i understand: Form2.Text1.Text = Form1.Text1.Text
>but this clears out Form2.Text1's text and replaces it with Form1.Text1's Text.
>I want to beable to do this:
>Form2.Text1.Value = Form2.Text1.Text + Form1.Text1.Text
>but it doesn't work i click the button and it keeps copying over the current value of Form2.Text1.Text and I want to keep it...

David, if you are referring to what you actually see in the form it may happen because your textbox1 is not long enough to fit the concatenated text from 2 textboxes (considering the trailing spaces in your Textbox1.text property.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform