Copy textBox

Posts 1–3 of 3 · Page 1 of 1
Copy textBox
Hey. Just Woundering How to make this


Have a button
once the button is clicked
it will copy the text from TextBox1

Thanks
On the button code just put:

TextBox1.copy()
What do you want to do with the copied text?

If you want to copy it to the clipboard:

[php]
My.Computer.Clipboard.SetText(TextBox1.Text)
[/php]

Or if you want to make another controls text the same as the text in the textbox

[php]
Button1.Text = Textbox1.Text
[/php]

Or a bunch of other things.

Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us