Hi, I need to have text selected in a box in one form, and edit text in another at the same, if this is possible, how do I do this?
Printable View
Hi, I need to have text selected in a box in one form, and edit text in another at the same, if this is possible, how do I do this?
It's possible to access information from another form. You can do this by declaring an object of the form and then referncing the information.
For example:
If you had these objects:
Form1 - Main Form
Form2
TextBox1
In form one:Now that we've done that, we can access TextBox1 that is on the second form like this:Code:Dim 2ndForm As New Form2
It's hard for me to understand exactly what it is you're asking for. So, if you can clarify a little bit, I think I can give you a better example of what you're asking.Code:2ndForm.TextBox1.Text = Blah Blah Blah
I meant one text box on a separate form with highlighted text, with the ability to keep editing text on another form at the same time.