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

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

Postby Demont.frank » Sun Apr 19, 2009 6: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
Demont.frank
 
Posts: 5
Joined: Fri Sep 07, 2007 2:47 pm

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

Postby Antonio Linares » Sun Apr 19, 2009 7:54 am

Frank,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Demont.frank » Sun Apr 19, 2009 8: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"
Demont.frank
 
Posts: 5
Joined: Fri Sep 07, 2007 2:47 pm

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

Postby Antonio Linares » Sun Apr 19, 2009 8:13 am

Frank,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 99 guests