Versions Compared

Key

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

...

In the following example, we are adding two new tabs. The first tab shows how you might support add-ons in your application, allowing you to modularize extra features. The second tab shows how you might implement a tab that the user can customize with their favorite actions.

 

Code Block
<AddTabs>
    

...

<Tab Key="EMAIL_ADDON" Caption="Email" KeyboardTip="E">

...

        <Group Key="ACTIONS" Caption="Actions" OptionButton="false" Icon="Icons\email.png">

...

            <Button Key="BTN_EMAIL_REPORT">

...

                <Command Key="EMAIL_REPORT" Caption="Email Report" LargeIcon="Icons\mail_new.png" />

...

            </Button>

...

            <Button Key="BTN_CHECK_EMAIL">

...

                <Command Key="CHECK_EMAIL" Caption="Check Report Mail" LargeIcon="Icons\mail_open.png"/>

...

            </Button>

...

        </Group>
    

...

</Tab>

...

    

...

<Tab Key="USER_COMMANDS" Caption="Favorites">

...

        <Group Key="DATA_USER" Caption="Data Entry" Icon="Icons\database.png">

...

            <Button Key="BTN_ACCOUNTS" Key="ACCOUNTS" />

...

            <Button Key="BTN_INVENTORY" Key="INVENTORY" />

...

        </Group>
        

...

<Group Key="REPORTS_USER" Caption="Reporting" Icon="Icons\reports.png">

...

            <Button Key="BTN_ACCOUNTS_REPORT" Key="REPORT_ACCOUNTS" />

...

            <Button Key="BTN_INVENTORY_REPORT" Key="REPORT_INVENTORY" />

...

        </Group>

...

    </Tab>
</AddTabs>