Hi!I have some questions about the MiniToolbarBackground: We have some segmented Popupmenubuttons in our Toolbar. They can Show a Dropdown menu after klicking the tiny arrow on right side. This arrow is hard to click on for some older customers. So we are looking for an alternative for that. I found that I can trap the mouse-right click of the toolbar via the BeforeToolbarListDropdown which gives me the key of the klicked button. I did get a Suggestion for a Workaround for the size of this arrow, but that did not work (at least for me).
When I now want to Show a MiniToolbar after that click I have some Troubles:
a) do I Need to have an extra Toolbarmanager for every MiniToolbar - I do not see how I can create more than one Minitoolbar for one Toolbarmanagerb) I do not see any possibility to store a reference to a specific one in a ButtonToolc) The Botton tool does not give me the posibility to add a popup menu d) What would be your Suggestion to solve this Task?TIA
Josef Resperger
Hi!
Well I have to admit, that I don't know much about C#; Actually we are working with Infragistics under a Progress Software License. The Setup of the Toolbar Looks very similar to the code in C#. If I understand your code correct then we still have a missunderstanding. For me it Looks like that the popup will come up at any mouse-click on the button - because I don't see any reference for right-mouse.
Basically I think I can solve the Problem in generating different popup menu objects and Show them on the right-mouse-click of the button. I can identify the right-mouse-click on a toolbar button. I've tested this. What I was looking for was a more simple solution in combination with the toolbar-object. But it Looks like that this simple solution does not exist.
So I might as well go on without your help now.Thanks
Josef
Hello,
If I understand you right, I believe that this could be achieve using several 'PopupMenuTools'. Please take a look at the attached sample which could be a possible approach, example.
Lets say there is a button open and a butten new on my toolbar (actually there are more)
on right mouse of Open there might be a Dropdown:by dateby Nameby criteriaby ....
without right mouse will will open by Name
on right mouse click of new:- Standard case- Superior case- Concateneted case
without right mouse we will go to a Standard case
etc.
And there can be more than one class open with different toolbarsettings - which works fine with toolbar merging.
Josef,
There should a solution for this as well, just wanted to know how will be decided what menu to be showed on mouse right click?
As to the MiniToolbar - yes, you could have only one per 'UltraToolbarsManager' instance.
Thanks so far.
What I see is what I supposed. If I am right I can only have one Minitoolbar in one Toolbarmanager? That would suggest if I Need 4 or 5 popups for 4 or 5 Buttons in my toolbar Minitoolbar is not the solution.
I will have to manage with free Standing popup menues right?