Difference between revisions of "RibbonMenuOption.Constructor"
From Jeremie Leroy - XOJO Controls Wiki
m (1 revision imported) |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
Simple [[RibbonMenuOption.Constructor|Constructor]] used for Separators. | Simple [[RibbonMenuOption.Constructor|Constructor]] used for Separators. | ||
+ | |||
+ | {{MethodBox | ||
+ | | name=Constructor | ||
+ | | owner=[[RibbonMenuOption]] | ||
+ | | ownertype=class | ||
+ | | scope=public | ||
+ | | parameters=Name As String, Caption As String = "", Icon As Picture = Nil, HasMenu As Boolean = False, Enabled As Boolean = True, Visible As Boolean = True, Helptag As String = "", SubCaption As String = "", SubOption As Boolean = False | ||
+ | | returntype= | ||
+ | | version=1.3.0 | ||
+ | | platform=all | ||
+ | }} | ||
+ | |||
+ | |||
+ | |||
+ | [[RibbonMenuOption.Constructor|Constructor]] for a RibbonMenuOption. | ||
+ | If the'' Caption'' is an empty string, the ''Name'' is stored in the Caption. |
Latest revision as of 16:46, 2 August 2016
Method
RibbonMenuOption.Constructor ( )
Simple Constructor used for Separators.
Method
RibbonMenuOption.Constructor ( Name As String, Caption As String = "", Icon As Picture = Nil, HasMenu As Boolean = False, Enabled As Boolean = True, Visible As Boolean = True, Helptag As String = "", SubCaption As String = "", SubOption As Boolean = False )
Constructor for a RibbonMenuOption.
If the Caption is an empty string, the Name is stored in the Caption.