Author |
Message |
MysticVegeta
|
Posted: Thu Jan 20, 2005 6:42 pm Post subject: Problems with Window Close (QUICK ISP DUE 2MORROW!) |
|
|
When i use the Window.Close(mainWin) command, it says "Window with id of 1 is closed"
What the hell is that supposed to mean? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
cycro1234
|
Posted: Thu Jan 20, 2005 6:45 pm Post subject: (No subject) |
|
|
How many windows do you have open when u close the mainWin? |
|
|
|
|
|
basketball4ever
|
Posted: Thu Jan 20, 2005 7:00 pm Post subject: (No subject) |
|
|
include a piece of code...might help us understand |
|
|
|
|
|
eNc
|
Posted: Fri Jan 21, 2005 12:29 am Post subject: (No subject) |
|
|
Prehaps there is a small error with your code, try somthing like
code: |
var window := Window.Open("title:Test")
put "hi"
delay (2000)
Window.Close(window)
|
Hope it helps |
|
|
|
|
|
MysticVegeta
|
Posted: Fri Jan 21, 2005 1:56 pm Post subject: (No subject) |
|
|
basketball4ever wrote: include a piece of code...might help us understand
Off: Hi basketball and cycro, please do not answer this topic anymore because i know who you ******* are. I know that your level doesnt stand a chance against mine, Yes i am the one that taught your mom and dad how to program, please let some pros answer this...
Directed Specificaly to basketball4ever:
quote " you should learn to read b4 you even bother asking for the code "
On: Ok, now my file so huge that i will have to attach a zip... should i do it? cause its a game Hangman!. If you play it and exit then it work perfectly but if you play 2 times thne close then it gives an eror. |
|
|
|
|
|
cool dude
|
Posted: Fri Jan 21, 2005 2:43 pm Post subject: (No subject) |
|
|
please stop flaming and as to your question try this
code: |
var winID : int % stores the window ID
winID := Window.Open
%put all your code here
Window.Close (winID) % Close the window
|
|
|
|
|
|
|
basketball4ever
|
Posted: Fri Jan 21, 2005 5:25 pm Post subject: (No subject) |
|
|
1. Quote: Directed Specificaly to basketball4ever:
quote " you should learn to read b4 you even bother asking for the code "
lmao yeh u asked y it displayed an error message. And well frankly, we have no (******) clue why you have that error message and how we can help to fix it.
2. You only wish you were better than cycro and i. It also explains why you have been begging for help on this site a numerous amount of times compared to us. Especially on something as easy to solve like this.
3. If you're not late already handing in the project, try storing winID as a variable first. |
|
|
|
|
|
MysticVegeta
|
Posted: Sat Jan 22, 2005 11:13 am Post subject: (No subject) |
|
|
cool dude wrote:
code: |
var winID : int % stores the window ID
winID := Window.Open
%put all your code here
Window.Close (winID) % Close the window
|
I know how to use the Window Open and Close command and I will be posting the zip file soon. Even my teacher didnt get it, she said it wasn't my fault so i submitted it like that. I will post the zip file soon |
|
|
|
|
|
Sponsor Sponsor
|
|
|
|