Versions Compared

Key

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

...

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 <Control> element. Each XML element is documented on the wiki, but you'll want to start with the <Control> element and work your way down.

NOTE: Do not call this method multiple times. It is designed to be called only once. If you need to add new elements, see the AddControlsAddGroups, and AddTabs methods.

Example

Code Block
// Read the XML from a table and pass it to the Init method
SetupXml = Xlate("SETUP", "MY_RIBBON_SETUP_XML", "", "X")
Send_Message(@Window:".OLE_RIBBON", "OLE.Init", SetupXml)

See Also

<Control>AddControlsAddGroupsAddTabs