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 Resperger,
Thank you for posting in the Infragistics forum.
One possible approach to achieve what you need is to use the default "ToolBars" DropDownArrowStyle like on the attached sample. If this does not meet your technical requirements could you please provide us with mockup screenshot and detailed information of what exactly do you need.
Please do not hesitate to contact us if you still any other questions with this matter.
Hi!
The different properties of Dropdownarrowstyle do not change anything in its size. See how small the arrow is and how hard it is for people with not so good sight to find it with the mouse:
What I want is to replace this functionality with Right-mouse-click and a popup menu. In my investigations I came accros ths mini-toolbar. But that does not look like a simple solution. Besides that I have a merging toolbar and that approach might not work in that environment.
Regards
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?