Author |
Message |
rbb

|
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. |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
AsianSensation
|
Posted: Wed May 21, 2003 10:59 am Post subject: (No subject) |
|
|
couldn't you use locate? |
|
|
|
|
 |
Andy
|
Posted: Wed May 21, 2003 1:26 pm Post subject: (No subject) |
|
|
GUI.CreateTextField
use that command |
|
|
|
|
 |
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. |
|
|
|
|
 |
nate

|
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 |
|
|
|
|
 |
rbb

|
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 |
|
|
|
|
 |
Homer_simpson

|
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 |
|
|
|
|
 |
JSBN

|
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) |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
|