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,
MENU (DO NOT CLOSE ON SELECT ITEM)
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: MENU (DO NOT CLOSE ON SELECT ITEM)
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.
A solution is to create a user defined Class that looks like a popup menu, so you have full control on it.
Re: MENU (DO NOT CLOSE ON SELECT ITEM)
Thanks Antonio ...
but i dont think that i can to create a user defined Class alone ...
Best regards,
but i dont think that i can to create a user defined Class alone ...
Best regards,
Re: MENU (DO NOT CLOSE ON SELECT ITEM)
Hi Antonio ...
So can you help to create a new MENU class ....or if you have it ?
Best regards,
So can you help to create a new MENU class ....or if you have it ?
Best regards,
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: MENU (DO NOT CLOSE ON SELECT ITEM)
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
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