Z ZeroX1 Solid State Member Messages 8 Sep 13, 2005 #1 Hi! I got a school assignment to do a roulette program. I have it almost ready but one thing remain. If i have a variable result that contains a number lets say 5, how do i get the 5 to show in the textbox.
Hi! I got a school assignment to do a roulette program. I have it almost ready but one thing remain. If i have a variable result that contains a number lets say 5, how do i get the 5 to show in the textbox.
S Smith2003 Solid State Member Messages 9 Sep 14, 2005 #2 by using the property Text for the TextBox element. suppose the name of your Textbox element is TextBox1 then you can show the value of the variable named result in the Textbox by: TextBox1.Text = result
by using the property Text for the TextBox element. suppose the name of your Textbox element is TextBox1 then you can show the value of the variable named result in the Textbox by: TextBox1.Text = result
OP OP Z ZeroX1 Solid State Member Messages 8 Sep 15, 2005 #3 Thx for the help!!! It was too easy for me to figure out