Is it possible to create a GProvider with a drop-down menu from the toolbar button?
Like "Filter Project View", shown below?
You'll notice also the secondary project provider on my toolbar from the examples -- I was trying to modify it to have two sub-menu items below one button, but it's always showing three toolbar btns.
AFAIK no, it's not possible. I haven't really tried but I would bet that Sumedha has at least looked into it.
Sumedha - Any ideas if this is possible?
I can do some testing and ask around over here, but I can't gauruntee anything from me until post-NIWeek if that is acceptable. Things are getting crazy around here.
Hi Jack, David
I don't know of a way to do this. But I am looking into it. So far all the ways I have tried are giving me the same result as Jack got. I will do more research tomorrow and let you know if I find a way to achieve this.
Here is the snapshot of Global_Init.vi that enabled this. Notice that the menu names have two levels ofhierarchy, i.e. two backslashes in their name.
Smooth, I was looking exactly for this.
But I'm failing on creating a mixup of buttons and a "dropdown button" within one project provider.
Is there a solution for that requirement other than using 2 project providers?
After lots of trial an error I finally got it working...
Use naming like "menu1/menu2" for all Buttons and then "menu1/menu3/select_x" for a pulldown-button for the "Menu Name".