Page History
...
To use this method, pass a string containing XML. It does not matter where the XML was originally stored. All that matters is that the one parameter you pass contains XML with one <AddTabs> element. Each XML element is documented on the wiki, but you'll want to start with the <AddTabs> element and work your way down.
...
Code Block |
---|
Xml = '' Xml := '<AddTabs>' Xml := ' <Tab Key="EMAIL_ADDON" Caption="Email" KeyboardTip="E">' Xml := ' <Group Key="ACTIONS" Caption="Actions" OptionButton="false" Icon="Icons\email.png">' Xml := ' <Button Key="BTN_EMAIL_REPORT">' Xml := ' <Command Key="EMAIL_REPORT" Caption="Email Report" LargeIcon="Icons\mail_new.png" />' Xml := ' </Button>' Xml := ' <Button Key="BTN_CHECK_EMAIL">' Xml := ' <Command Key="CHECK_EMAIL" Caption="Check Report Mail" LargeIcon="Icons\mail_open.png"/>' Xml := ' </Button>' Xml := ' </Group>' Xml := ' </Tab>' Xml := ' <Tab Key="USER_COMMANDS" Caption="Favorites">' Xml := ' <Group Key="DATA_USER" Caption="Data Entry" Icon="Icons\database.png">' Xml := ' <Button Key="BTN_ACCOUNTS" Key="ACCOUNTS" />' Xml := ' <Button Key="BTN_INVENTORY" Key="INVENTORY" />' Xml := ' </Group>' Xml := ' <Group Key="REPORTS_USER" Caption="Reporting" Icon="Icons\reports.png">' Xml := ' <Button Key="BTN_ACCOUNTS_REPORT" Key="REPORT_ACCOUNTS" />' Xml := ' <Button Key="BTN_INVENTORY_REPORT" Key="REPORT_INVENTORY" />' Xml := ' </Group>' Xml := ' </Tab>' Xml := '</AddTabs>' Send_Message(@Window:".OLE_RIBBON", "OLE.AddTabs", Xml) |