FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem with oWnd:oMenu:Disable() in MDI environnement
Posts: 5
Joined: Fri Sep 07, 2007 02:47 PM
Problem with oWnd:oMenu:Disable() in MDI environnement
Posted: Sun Apr 19, 2009 06:22 AM

Hello,

I have a routine which try to disable all menu activity in a MDI environnement , using :

oWnd:oMenu:Disable()

In the source i can see that all menuitem's should be disabled , ::lAcive is set to .F.

I have a menu with 6 items , the 5 first are disabled , but the last one not , i can click and activate it.

I have no idea why it doesn't work with the last one , ::lActive is also with the last one .F.

Frank

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problem with oWnd:oMenu:Disable() in MDI environnement
Posted: Sun Apr 19, 2009 07:54 AM

Frank,

Could you provide a small example to reproduce it ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 5
Joined: Fri Sep 07, 2007 02:47 PM
Re: Problem with oWnd:oMenu:Disable() in MDI environnement
Posted: Sun Apr 19, 2009 08:05 AM

Antonio,

Sorry , but it is to complicated.

I have found another and better solution , see mine thread about "launching and waiting for closing excel"

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problem with oWnd:oMenu:Disable() in MDI environnement
Posted: Sun Apr 19, 2009 08:13 AM

Frank,

Would you mind to post the url (shortcut) to that topic ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion