RibbonWinForms / RibbonWinForms

An Office Ribbon Control for .NET WinForms
Microsoft Public License
757 stars 201 forks source link

Tabbing between items in the panel #24

Open sivarama2794 opened 5 years ago

sivarama2794 commented 5 years ago

Hi I'm trying to tab between items inside my ribbonPanel, Say I have three textbox in the panel I need to move between them using tab. I couldn't find tabindex property of the items inside the panel image In this sample ribbonpanel when I press tab it should switch between the individual buttons not to go to the next panel

adriancs2 commented 5 years ago

This function is not implemented yet. As a workaround (alternative solution):

  1. you may first create a normal winform panel outside the ribbon.
  2. then add some ordinary winform textboxes into the panel.
  3. At the ribbon panel, add a ribbonHost or "Host".
  4. At the property of "HostedControl" of the "Host", select the panel.

This way, the keyboard tab will work.

Here is a sample project that demonstrated the idea: WindowsFormsApp1.zip