RibbonMenuOption.DrawSubOption
From Jeremie Leroy - XOJO Controls Wiki
Method
RibbonMenuOption.DrawSubOption ( g As Graphics, X As Integer, Y As Integer, OptionWidth As Integer ) As Integer
Draws the Button and returns its Height