
-----------------------------------
rbb
Wed May 21, 2003 10:32 am

How do you create a text field?
-----------------------------------
For my calculator how would you create a text field for where the numbers would go.

-----------------------------------
AsianSensation
Wed May 21, 2003 10:59 am


-----------------------------------
couldn't you use locate?

-----------------------------------
Andy
Wed May 21, 2003 1:26 pm


-----------------------------------
GUI.CreateTextField 
use that command

-----------------------------------
Blade
Wed May 21, 2003 1:29 pm


-----------------------------------
yea. but gui is kinda hard to use. if you dont wanna use gui you can create your own gui like most of the others reccomend here.

-----------------------------------
nate
Wed May 21, 2003 3:56 pm

GUI.SetText
-----------------------------------
Basically you would create the text feild for the numbers 

Then in the procedure for each of the buttons u put 

GUI.SetText ("thebutton's#goeshere")

Something like that

-Nate

-----------------------------------
rbb
Fri May 23, 2003 10:10 am

when u use GUI.CreateTextField what do yu put afeter it.
-----------------------------------
when u use GUI.CreateTextField what do yu put afeter it.  For example what number to make the size of the textfield

-----------------------------------
Homer_simpson
Fri May 23, 2003 2:00 pm


-----------------------------------
GUI.CreateTextField (x, y, width : int, text : string, actionProc : procedure  (text : string)) : int
GUI.CreateTextFieldFull (x, y, width : int, text : string, actionProc : procedure x (text : string),border, fontID, inputKind : int) : int

-----------------------------------
JSBN
Fri May 23, 2003 7:56 pm


-----------------------------------
also, if u have the newest VR. of Turing, press f10 for an in-depth veiw on GUI Commands (search GUI after u press f10)
