Computer Science Canada

How to change size of text field

Author:  someone-like-it-hot [ Fri Mar 21, 2008 6:46 pm ]
Post subject:  How to change size of text field

I'm trying to make text field size 300 x 300. I tried to find something in Turing Documentation but I found that only width could be edited.

Here is piece of code that I have problem with:

CodeEnteredField := GUI.CreateTextFieldFull (20, 300, 300, "",
CodeEntered, GUI.INDENT, 0, 0)

Thanks in advance!

Author:  fishtastic [ Fri Mar 21, 2008 8:15 pm ]
Post subject:  RE:How to change size of text field

look up for view.set

edit: View.Set ("graphics:300;300") will do. i guess.

if you are creating a textbox inside the running window look up for GUI.CreateTextBox

Author:  A.J [ Fri Mar 21, 2008 11:36 pm ]
Post subject:  Re: How to change size of text field

i think he's looking for the text field in the run screen. look up the GUI......or you could create your own by drawing a box, etc...

Author:  Mackie [ Sat Mar 22, 2008 5:48 am ]
Post subject:  RE:How to change size of text field

I'm with A.J, although I've intentionally never worked with the GUI. Through a quick glance, I have a feeling it won't work. I always found it the most fun making my own GUI anyway.

/me waits patiently for someone to come in and prove him wrong again.


: