Questions tagged [popupmenubutton]

41 questions
0
votes
1 answer

How to make PopupMenuItems change according to Tabs in TabBar like WhatsApp

How do I make PopupMenuItem change according to the change of tabs in the TabBar ? Like WhatsApp.
0
votes
1 answer

PopupMenuButton sending Buildcontext to handleclick function

I am pretty new to flutter and I found the code for my PopupMenuButton online and modified it slightly. I want the logout option to run Navigator.pop(context), but I don't understand how to get it get it there. Code: PopupMenuButton( …
0
votes
1 answer

Changing the style of CMFCMenuButton look like a regular button on my dialog

I have a CMFCMenuButton control on my dialog: CONTROL "Lookup",IDC_MFCMENUBUTTON_LOOKUP_PUBLISHER, "MfcMenuButton",WS_TABSTOP,106,254,45,14 I initialize it like…
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
0
votes
2 answers

How to prevent MenuButton from closing when clicking on the CheckMenuItem (JavaFX)

I'm new with Java, I would like to know how to prevent MenuButton popup from closing when I click on the item, I tried the following function, which I found on this site, but does not seem to do anything. I need this in order to make a clone of my…
Toody
  • 87
  • 1
  • 10
0
votes
2 answers

Error in embeding icons in PopUpMenuButton node

I am trying to create a popupmenubutton, with images and label as its nodes. But I am unable to embed the icons. It gives me and error(given below). Thou the label alone are working fine.
Zeeshan Rang
  • 19,375
  • 28
  • 72
  • 100
0
votes
1 answer

Flex 3 PopUpMenuButton and ReferenceError #1069

I've got a PopUpMenuButton in a Flex 3 application. If someone clicks on the pulldown part, it works fine. But, if they click on the main button part, I get get ReferenceError: Error #1069. After the user dismisses the error, it then does what it's…
Laxmidi
  • 2,650
  • 12
  • 49
  • 81
0
votes
1 answer

How to add options check menu to CMFCToolBar to allow multiple checks at time

I want to add a menu button to a CMFCToolbar that allow checking multiple options at a time, when I add a menu and check an item on click the menu is closed I need a menu like the menu in the customization button as in the following image
ahmedsafan86
  • 1,776
  • 1
  • 26
  • 49
0
votes
2 answers

mx:PopUpMenuButton how to determine the source of a click

Maybe I am trying to use the wrong component for what I want to do. I have a PopUpMenuButton with 2 items in it. I only want to take action when a user selects an item in the popup menu. I have set the itemClick event to perform the necessary…
user278859
  • 10,379
  • 12
  • 51
  • 74
0
votes
1 answer

Show custom action item menu on Menu button click

I am trying to create a custom menu button as an Action item, here is the xml resource I used
Favas Kv
  • 2,961
  • 2
  • 28
  • 38
0
votes
1 answer

ListView over Gridview (QuickAction Menu)

i am trying to create a layout where on Button Click a listview is to be shown(popup) and it is done but the main problem is listview makes gridview to slide down and i don't want that.I want listview to popup over gridview. Help how to do it My…
surhidamatya
  • 2,419
  • 32
  • 56
0
votes
1 answer

Implementing Menu button click on class extending PopupWindow

The question is simple: How do I catch clicks on the menu button on a class that extends from PopupWindow? What I'm doing now is the following: @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode ==…
Charlie-Blake
  • 10,832
  • 13
  • 55
  • 90
1 2
3