A button also has a Text Property. Write code to transfer the Text property of a button to the Textbox. It's probably better for this exercise to create a new Button. Set its Name property to whatever you like. And give its Text Property a new value (The Text property will be Button1 by default) .

But the process is exactly the same as the two bits of code above - you should only need 3 lines of code for this exercise.

avatar



Comments
 
Who Zoomed
 
Related Links