Difference between revisions of "RibbonMenuOption.Constructor"
From Jeremie Leroy - XOJO Controls Wiki
m (1 revision imported) |
|||
Line 1: | Line 1: | ||
+ | |||
+ | |||
{{MethodBox | {{MethodBox | ||
| name=Constructor | | name=Constructor | ||
Line 4: | Line 6: | ||
| ownertype=class | | ownertype=class | ||
| scope=public | | scope=public | ||
− | | parameters= | + | | 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= | | returntype= | ||
| version=1.3.0 | | version=1.3.0 | ||
Line 12: | Line 14: | ||
− | + | [[RibbonMenuOption.Constructor|Constructor]] for a RibbonMenuOption. | |
+ | If the'' Caption'' is an empty string, the ''Name'' is stored in the Caption. |
Revision as of 16:29, 2 August 2016
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.