Versions Compared

Key

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

Initializes the ribbon in a single call with XML.

Syntax

Code Block
Error = Send_Message(Ctrl, "OLE.Init", XmlData)

...

PropertyDescription
XmlDataThe 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.

...