Difference between revisions of "RibbonMenuOption.Constructor"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
m (1 revision imported)
Line 1: Line 1:
 +
{{MethodBox
 +
| name=Constructor
 +
| owner=[[RibbonMenuOption]]
 +
| ownertype=class
 +
| scope=public
 +
| parameters=
 +
| returntype=
 +
| version=1.3.0
 +
| platform=all
 +
}}
 +
 +
 +
 +
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.
 +
 
{{MethodBox
 
{{MethodBox
 
| name=Constructor
 
| name=Constructor

Revision as of 17:31, 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.


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.