Beginner Questions
#5
this part handles the close window button:
Code:
while(not leavingLoop)
for everyCommand = 1 to nCommands
if(DEBUG and msg$(everyCommand)<>"") print msg$(everyCommand)

switch(msg$(everyCommand))
case "_QuitRequested"
case "MainWindow:_QuitRequested"
leavingLoop = true
break
default

end switch
wend

CloseWindow()     // Directs to a clean-up and end program subroutine.

end

I'm tot sure what you want the text to do.
Reply


Messages In This Thread
Beginner Questions - by MrEntropy - 04-07-2020, 07:01 PM
RE: Beginner Questions - by bbjimmy - 04-08-2020, 03:56 PM
RE: Beginner Questions - by MrEntropy - 04-09-2020, 06:27 AM
RE: Beginner Questions - by MrEntropy - 04-11-2020, 12:37 PM
RE: Beginner Questions - by bbjimmy - 04-12-2020, 08:42 PM
RE: Beginner Questions - by MrEntropy - 04-13-2020, 09:54 AM
RE: Beginner Questions - by bbjimmy - 04-14-2020, 09:46 AM
RE: Beginner Questions - by MrEntropy - 04-19-2020, 03:24 PM
RE: Beginner Questions - by bbjimmy - 04-21-2020, 09:51 AM
RE: Beginner Questions - by MrEntropy - 04-22-2020, 07:42 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)
Free Web Hosting