Add button to ProForm group

Discussions related to SoftPro Select user interface development.

Moderator: Phil Barton

Post Reply
cjedlicka
Posts: 4
Joined: Wed May 08, 2013 5:15 pm

Add button to ProForm group

Post by cjedlicka »

Hi,

I would like to be able to add a button to the existing "Orders" group under the ProForm tab. Is this possible? I couldn't find a GUID anywhere that references that section.

Thanks,
Chris
BobRichards
Posts: 1377
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: Add button to ProForm group

Post by BobRichards »

In the Symbols section of your CTD section, add the following lines:

Code: Select all

<Guid name="CommandSetGuid" value="f436331e-3d02-4b9b-af76-fc878517bcf9">
    <ID name="OrderTab" value="4501" />
</Guid>
Then you can add your own buttons:

Code: Select all

<!-- Order Ribbon  -->
    <MenuRef id="OrderTab">
      <Group id="RibbonTabGroup1" priority="100">
        <Menu id="RibbonTab1" text="{Your tab name}">
          <Group id="RibbonChunkItemsGroup1" style="Horizontal">
            <Button id="RibbonButton1" largeImage="Resources\abc1.png"
                smallImage="Resources\abc2.png" priority="10" text="Add"
                style="TextUnderneath Dynamic"
                toolTip="Click here to ..." />
            <Button id="RibbonButton2" largeImage="Resources\xyz1.png"
                smallImage="Resources\xyz2.png" priority="10" text="Fill"
                style="TextUnderneath Dynamic"
                toolTip="Click here to ..." />
          </Group>
        </Menu>
      </Group>
    </MenuRef>
Bob Richards, Senior Software Developer, SoftPro
Post Reply