|
Post by blametroi on Jul 21, 2019 6:24:38 GMT -5
I started on the graphics portions of the lesson browser and am confused by trapclose and end. From what I have read, I expect the following program to end properly and not show up in the kill menu, but it still dangles around. I've got a big system and am not hurting for resources, but would like to exit properly.
What am I missing?
' ' clock.bas - draw an analog clock ' nomainwin
UpperLeftX = 200 UpperLeftY = 200 WindowWidth = 700 WindowHeight = 700 open "Clock" for graphics as #gw print #gw, "trapclose [close.gw]" wait
[close.gw] notice "closing" close #gw end
|
|
|
Post by Rod on Jul 21, 2019 13:11:03 GMT -5
Longstanding bug if I recall. Pretty sure the process is closed it is just the kill list that fails to update. Thought it had been fixed.
|
|
cundo
Full Member
Muchas Gracias!!
Posts: 146
|
Post by cundo on Jul 21, 2019 13:34:40 GMT -5
Yes, it happens when you have a graphicBox IIRC. A little bug, wasn't there in previous versions.
|
|
|
Post by blametroi on Jul 21, 2019 13:53:46 GMT -5
Longstanding bug if I recall. Pretty sure the process is closed it is just the kill list that fails to update. Thought it had been fixed. Thanks guys, I think Rod is right. I checked the task manager in Windows and the app disappears from the list.
My main concern was that I was doing something wrong in my code, but I guess I've got it right. Thanks again.
|
|