Page History
Adds new tabs to the control.
Syntax
Code Block |
---|
Error = Send_Message(Ctrl, "OLE.AddTabs", Xml) |
...
Property | Description |
---|---|
Xml | The XML snippet used to add tabs. |
Returns
An XML parsing error, or "" if the XML parsed successfully. (Added in 4.1.20)
Remarks
The AddTabs method allows you to add new tabs to the ribbon at runtime. This is the only way to add new tabs. Do not call Init multiple times.
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.
...