Computer Science Canada How do you create a text field? |
Author: | rbb [ 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. |
Author: | AsianSensation [ Wed May 21, 2003 10:59 am ] |
Post subject: | |
couldn't you use locate? |
Author: | Andy [ Wed May 21, 2003 1:26 pm ] |
Post subject: | |
GUI.CreateTextField use that command |
Author: | Blade [ Wed May 21, 2003 1:29 pm ] |
Post 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. |
Author: | nate [ 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 |
Author: | rbb [ 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 |
Author: | Homer_simpson [ Fri May 23, 2003 2:00 pm ] |
Post 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 |
Author: | JSBN [ Fri May 23, 2003 7:56 pm ] |
Post 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) |