I have a dialog that works like this that is starting in a thread from the main menu
dcsays and dcsets
DCREAD GUI EXIT SAVE EVAL {|x| oDialog := x}
lStatus := DC_ReadGuiEventLoop(Getlist)
d_oDialog:destroy()
However, the dialog name continues to appear in the windows menu. It is not accessible, but is still checked. How do I get it to be removed from the windows menu on the main menu.
Cliff.
Dialog not coming off of windows menu
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Dialog not coming off of windows menu
Try this:
Code: Select all
DC_WinMenu():delItem(oDialog)
The eXpress train is coming - and it has more cars.
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Dialog not coming off of windows menu
Thanks Roger.
Took care of it. Doing this manually must not update the Dc_Winmenu()
Took care of it. Doing this manually must not update the Dc_Winmenu()