Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Menus&Toolbars » Popup menu on button click
Popup menu on button click [message #26691] Wed, 19 May 2010 16:13 Go to next message
whiteman is currently offline  whiteman
Messages: 11
Registered: May 2009
Promising Member
Is possibile to show a popup menu when clicking on a button? thanks in advance.
Re: Popup menu on button click [message #26725 is a reply to message #26691] Fri, 21 May 2010 16:41 Go to previous message
whiteman is currently offline  whiteman
Messages: 11
Registered: May 2009
Promising Member
I have found the solution

Declarations:

mnubar_File.Set(THISBACK(MainMenu));
mbtn_Option <<= THISBACK(OptionMenu);


and in the method OptionMenu

mnubar_File.Execute();


Have a nice day.
Previous Topic: Close context menu from within Execute() handler
Next Topic: ToolBar's context menu
Goto Forum:
  


Current Time: Wed Nov 20 21:57:23 CET 2019

Total time taken to generate the page: 0.01035 seconds