Hi all,
I´m trying to implement a mdi management in my app. I have a ribbon group with buttons to cascade, etc the opened mdi windows.
The buttons are coded like this
The button should be activated when more than one mdi window is open. But if I open a second mdi window, the button stays inactive and is not automatically activated.
In a normal menu it is working fine.
Any solution ?
I´m trying to implement a mdi management in my app. I have a ribbon group with buttons to cascade, etc the opened mdi windows.
The buttons are coded like this
@ 15, 3 ADD BUTTON Â oBtn1_3_1 PROMPT "Kaskadieren" ;
      BITMAP "WinCascade" ;
      GROUP oGr3_1 ;
      WHEN Len( oAppWnd:oWndClient:aWnd ) > 1 ;
      ACTION oAppWnd:Cascade() SIZE 105, 21 MOSTLEFTThe button should be activated when more than one mdi window is open. But if I open a second mdi window, the button stays inactive and is not automatically activated.
In a normal menu it is working fine.
Any solution ?
kind regards
Stefan
Stefan