Page History
Initializes the ribbon in a single call with XML.
Syntax
Code Block |
---|
Error = Send_Message(Ctrl, "OLE.Init", XmlData) |
...
Property | Description |
---|---|
XmlData | The XML snippet used to initialize this control. |
Returns
An XML parsing error, or "" if the XML parsed successfully. (Added in 4.1.20)
Remarks
The Init method is a fast and convenient way to initialize the ribbon. The ribbon consists of many elements in a hierarchical relationship--lots of parents and children. With such complexity, using lots of properties and methods to initialize the control is confusing and prone to error. XML provides a nice way to handle the complex relationships without sacrificing clarity.
...