Computer Science Canada Controlling main window using "Window." commands. |
Author: | templest [ Wed Jan 14, 2004 10:32 am ] |
Post subject: | Controlling main window using "Window." commands. |
OK!, We all know how to controll windows you open, for example: var window : int := Window.Open ("title:wassabi") problem... The main window, not a window you open. You know, the one that runs automatically when you make the program: put "Hello World!" How do I control it? You can't just type: Window.Set (... uhh... what?) The window has no name attached to it. It's like... err. Do any of you know what I mean? Like, I can't use Window.Close or Window.SetActive with it because I can't just type the command if it doesn't have a name. Turing won't know what window it is that I'm trying to activate! ![]() Any help? |
Author: | DanShadow [ Wed Jan 14, 2004 1:40 pm ] | ||
Post subject: | |||
Try this:
|
Author: | Mazer [ Wed Jan 14, 2004 6:48 pm ] | ||
Post subject: | |||
Yeah, that's why I would always initialize my own window whenever I started writing a program. It's just easier that way, because I almost always want to have my own window size and title and whatever else so the very first line of my program would be
or whatever.. |