Page 1 of 1

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

Posted: Sun Apr 19, 2009 6:22 am
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

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

Posted: Sun Apr 19, 2009 7:54 am
by Antonio Linares
Frank,

Could you provide a small example to reproduce it ? thanks

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

Posted: Sun Apr 19, 2009 8:05 am
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"

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

Posted: Sun Apr 19, 2009 8:13 am
by Antonio Linares
Frank,

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