TheOne
14-03-2011, 14:36
Hi,
I was playing around with the textbox script example. I sort of figure out what was happening in this script. So I modified it to include 2 text input instead of one. Have the magicbutton (OK) display and clickable. (Kind of practicing so that later I can modify my console like data entry to a UI data entry program).
What I couldn't figure out was how to:
1. After you input data in textbox 1 and allow TAB to go to the next textbox. With the sample textbox script, if I hit TAB, it would go from textbox1 to OK button to textbox2.
2. How to use either TAB or RETURN key to go to next textbox. And then allow only the OK (magicbutton) to do something (in my case, to write output to a file which I now know how to do.)
Thanks for any suggestions.
I was playing around with the textbox script example. I sort of figure out what was happening in this script. So I modified it to include 2 text input instead of one. Have the magicbutton (OK) display and clickable. (Kind of practicing so that later I can modify my console like data entry to a UI data entry program).
What I couldn't figure out was how to:
1. After you input data in textbox 1 and allow TAB to go to the next textbox. With the sample textbox script, if I hit TAB, it would go from textbox1 to OK button to textbox2.
2. How to use either TAB or RETURN key to go to next textbox. And then allow only the OK (magicbutton) to do something (in my case, to write output to a file which I now know how to do.)
Thanks for any suggestions.