Dialog not coming off of windows menu

This forum is for eXpress++ general support.
Post Reply
Message
Author
Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Dialog not coming off of windows menu

#1 Post by Cliff Wiernik »

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.

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Dialog not coming off of windows menu

#2 Post by rdonnay »

Try this:

Code: Select all

DC_WinMenu():delItem(oDialog)
The eXpress train is coming - and it has more cars.

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: Dialog not coming off of windows menu

#3 Post by Cliff Wiernik »

Thanks Roger.

Took care of it. Doing this manually must not update the Dc_Winmenu()

Post Reply