Hi
I've added a help PopupMenuTool to the TabItemToolbar on the Ribbon form.The Menu entry is displayed at the correct position on the upper right corner of the form, but if the popup menu is opened, it is left aligned which makes most part of it disappear outside the boundary of the screen.
Is there a possibility to set the drop-down behaviour of a PopupMenuTool (as in UltraTollbarsManager.ShowPopup(...))?
thanks for the help
oilvier
Olivier,
Which build of NetAdvantage for Windows Forms are you using when you see this behavior? And is the form maximized when you are encountering this? I tested this in NetAdvantage for Windows Forms 9.1 build 1000, but was unable to reproduce the issue- the PopupMenuTool's items are still left-aligned, but all shifted over to ensure that they fit in the visible area, as shown in the attached screenshot. Can you post a screenshot of what you are seeing?
~Kim~
Hi Kim
thanks for the answer!
We are using Build 9.1.20091.1000.
Here's a screenshot of the menu:
The form containing the menu is maximized. I'm using 2 screens, the effect is the same on the primary as on the secondary screen.As it seems, the menu behaviour is also the same if the form is not maximized:
olivier
thanks for your response. I finally had the time to do some further debugging of this issue.As it seems, the problem only occurs if the UltraToolbarsManager's MenuAnimationStyle Property is set to a value different from MenuAnimationStyle.None.I deactivated the menu animation and now it works fine. That's OK for us, seems to be a bug though.
best regards,
Olivier
Could you post a sample that reproduces this behavior? I created another sample using the Navigation toolbar but still cannot reproduce the issue; while the dropdown will appear to the right a little if the form is not maximized, when the form is maximized the PopupMenuTool's dropdown is correctly moved to the left so I can see all of the items.