Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
5549
How to change the Order of the Popupmenu
posted

Hi, with the following Code i add a Buttontool to my WinToolbars
On the Popupmenu File i have already some entries. When i add now Print it appears in the Menu on the last position.
How can i change the order that it appear for example on the first position

 i have at the moment
File
>Save
>save as
>exit
>print

i want have
File
>Print 
>Save
>save as
>exit


 


Dim
popupMenuToolDatei As Infragistics.Win.UltraWinToolbars.PopupMenuTool
popupMenuToolDatei =
Me.UltraToolbarsManager1.Tools("File")
Dim menuButton1 As New Infragistics.Win.UltraWinToolbars.ButtonTool("Print")
menuButton1.SharedProps.Caption =
"Print"
Me.UltraToolbarsManager1.Tools.AddRange(New ToolBase() {menuButton1})
popupMenuToolDatei.Tools.AddTool(
"Print")

 

Parents Reply Children
No Data