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
1176
switch between open childforms using ribbon
posted

hi

i have a mdi using the ribbon but need to add a popup menu displaying the open childs forms so user can switch between them

no i have this code inside the click event for ribbon

  

  1. Case  "SwitchWindows"
  2. Dim OpenWindows As PopupMenuTool = TB1.Ribbon.Tabs("Windows").Groups("View").Tools("SwitchWindows")
  3. For Each ChildForm As Form In Me.MdiChildren
  4. OpenWindows.Tools.AddTool(ChildForm.Name.ToString)
  5. Next

but when i press the popup menu "Switch Windows" does not fire up the click event, second is there a easy way to manage the open childforms and switch between them?

 

Thanks.

 

 

Parents
No Data
Reply Children
No Data