FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Menu a Window MDI
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Menu a Window MDI
Posted: Mon Mar 01, 2010 05:37 PM
I have a window MDI with menu this floow


I wanna show MENU popup when i click right button in window MAIN, in this menu
i wanna show item ( Windows ) and inside this item show submenu with
all mdi files opened

how make this ?
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Menu a Window MDI
Posted: Tue Mar 02, 2010 02:21 AM
Code (fw): Select all Collapse
MENU oPop POPUP
MENUITEM 'Windows' WHEN ! Empty( WndMain():oWndClient:aWnd )
   MENU
      for each oWnd in WndMain():oWndClient:aWnd
         MENUITEM oWnd:cTitle
      next oWnd
   ENDMENU
ENDMENU
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion