FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper MENU (DO NOT CLOSE ON SELECT ITEM)
Posts: 301
Joined: Fri Jun 01, 2007 09:07 AM
MENU (DO NOT CLOSE ON SELECT ITEM)
Posted: Wed Sep 02, 2009 09:14 AM

Is it possible MENU to stay opened (not to close) after selecting (activating) seme MENUITEM and after the finished action to return to selected item in menu

Best regards,

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: MENU (DO NOT CLOSE ON SELECT ITEM)
Posted: Thu Sep 03, 2009 10:47 AM

No, it is not possible using Windows standard menus.

A solution is to create a user defined Class that looks like a popup menu, so you have full control on it.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 301
Joined: Fri Jun 01, 2007 09:07 AM
Re: MENU (DO NOT CLOSE ON SELECT ITEM)
Posted: Fri Sep 04, 2009 02:25 PM

Thanks Antonio ...
but i dont think that i can to create a user defined Class alone ...

Best regards,

Posts: 301
Joined: Fri Jun 01, 2007 09:07 AM
Re: MENU (DO NOT CLOSE ON SELECT ITEM)
Posted: Wed Sep 09, 2009 03:17 PM

Hi Antonio ...
So can you help to create a new MENU class ....or if you have it ?

Best regards,

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: MENU (DO NOT CLOSE ON SELECT ITEM)
Posted: Thu Sep 10, 2009 11:06 PM

You may review FWH\source\TPanel.prg which it is a very simple and easy to understand Class and use it as a skeleton to build your own popup menu Class.

Think about the differences between a panel and a popup menu: an array of items, you have to paint them, and select one of them with the mouse or the keyboard. It is a good exercise to understand how to build new Classes :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion