Problem with oWnd:oMenu:Disable() in MDI environnement

Post Reply
Demont.frank
Posts: 5
Joined: Fri Sep 07, 2007 2:47 pm

Problem with oWnd:oMenu:Disable() in MDI environnement

Post by Demont.frank »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Problem with oWnd:oMenu:Disable() in MDI environnement

Post by Antonio Linares »

Frank,

Could you provide a small example to reproduce it ? thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
Demont.frank
Posts: 5
Joined: Fri Sep 07, 2007 2:47 pm

Re: Problem with oWnd:oMenu:Disable() in MDI environnement

Post by Demont.frank »

Antonio,

Sorry , but it is to complicated.

I have found another and better solution , see mine thread about "launching and waiting for closing excel"
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Problem with oWnd:oMenu:Disable() in MDI environnement

Post by Antonio Linares »

Frank,

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

Antonio Linares
www.fivetechsoft.com
Post Reply