Custom Tab Order

Discussions related to SoftPro Select user interface development.

Moderator: Phil Barton

Post Reply
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Custom Tab Order

Post by roteague »

How do we make sure that our custom tabs appear in a certain order?

For example we have a custom tab (DMS) that appears before the SoftPro 360 tab, which appears before our custom TGAdmin tab. We would like our tabs to come after the 360 tab. See attachment.
Attachments
SPTabStrip.PNG
SPTabStrip.PNG (4.24 KiB) Viewed 575 times
Robert
Hadi Chemaly

Re: Custom Tab Order

Post by Hadi Chemaly »

The tab ordering is controlled by the priority attribute of the <Group> tag following the <MenuRef> tag in the package command table.

The 360 tab group priority is set to 100. Use a value greater than 100 to show your tabs to the right of 360. Here's an example:

Code: Select all

<MenuRef id="shl:RibbonMenu">
  <Group id="MyPackageTabGroup" priority="110">
    ...
  </Group>
</MenuRef>
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Custom Tab Order

Post by roteague »

Thanks Hadi, that will work.
Robert
Post Reply