Author |
Message |
rbb
![](http://www.)
|
Posted: Wed May 21, 2003 10:32 am Post subject: How do you create a text field? |
|
|
For my calculator how would you create a text field for where the numbers would go. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
AsianSensation
|
Posted: Wed May 21, 2003 10:59 am Post subject: (No subject) |
|
|
couldn't you use locate? |
|
|
|
|
![](images/spacer.gif) |
Andy
|
Posted: Wed May 21, 2003 1:26 pm Post subject: (No subject) |
|
|
GUI.CreateTextField
use that command |
|
|
|
|
![](images/spacer.gif) |
Blade
|
Posted: Wed May 21, 2003 1:29 pm Post subject: (No subject) |
|
|
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. |
|
|
|
|
![](images/spacer.gif) |
nate
![](http://www.e-lacrosse.com/2004/nll/rock.gif)
|
Posted: Wed May 21, 2003 3:56 pm Post subject: 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 |
|
|
|
|
![](images/spacer.gif) |
rbb
![](http://www.)
|
Posted: Fri May 23, 2003 10:10 am Post subject: 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 |
|
|
|
|
![](images/spacer.gif) |
Homer_simpson
![](http://compsci.ca/v3/uploads/user_avatars/18138546704b4d2a3b2e50e.gif)
|
Posted: Fri May 23, 2003 2:00 pm Post subject: (No subject) |
|
|
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 |
|
|
|
|
![](images/spacer.gif) |
JSBN
![](http://genesis.thruhere.net/site/templates/fisubsilversh/images/news/avatarS.gif)
|
Posted: Fri May 23, 2003 7:56 pm Post subject: (No subject) |
|
|
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) |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
|