RibbonCanvas.toRB
From Jeremie Leroy - XOJO Controls Wiki
Method
RibbonCanvas.toRB ( FullConstructor As Boolean = False, SaveStyle As Boolean = True ) As String
Returns RB code that can be used to create a ribbon control similar to the current view.