Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the following example, we are adding a new group (which contains a bunch of new controls) to the Home tab. At the same time, we add a bunch of new empty groups to the already existing Insert tab.

 

Code Block
<AddGroups>
  

...

<Tab Key="HOME">

...

    <Group Key="NAVIGATE" Caption="Navigation" OptionButton="true">
      

...

<Button Key="BTN_UP" BeginGroup="true">
        

...

<Command Key="UP" Caption="Up" Shortcut="Alt+Up" SmallIcon="Icons\arrow_up.png" />

...

      

...

</Button>

...

      <Button Key="BTN_DOWN">

...

        <Command Key="DOWN" Caption="Down" Shortcut="Alt+Down" SmallIcon="Icons\arrow_down.png" />
      

...

</Button>

...

      

...

<Button Key="BTN_LEFT">
        

...

<Command Key="LEFT" Caption="Left" Shortcut="Alt+Left" SmallIcon="Icons\arrow_left.png" />

...

      </Button>
      

...

<Button Key="BTN_RIGHT">

...

        <Command Key="RIGHT" Caption="Right" Shortcut="Alt+Left" SmallIcon="Icons\arrow_left.png" />

...

      

...

</Button>
    

...

</Group>

...

  </Tab>
  

...

<Tab Key="INSERT">

...

    <Group Key="PAGES" Caption="Pages" />

...

    <Group Key="TABLES" Caption="Tables" />
    

...

<Group Key="ILLUSTRATIONS" Caption="Illustrations" />

...

    <Group Key="APPS" Caption="Apps" />
    

...

<Group Key="MEDIA" Caption="Media" />
    

...

<Group Key="LINKS" Caption="Links" />
    

...

<Group Key="COMMENTS" Caption="Comments" />
    

...

<Group Key="HEADERFOOTER" Caption="Header & Footer" />
    

...

<Group Key="TEXT" Caption="Text" />

...

    <Group Key="SYMBOLS" Caption="Symbols" />

...

  </Tab>
</AddGroups>