Difference between revisions of "RibbonButton.Constructor"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
 
m (4 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
| parameters=Name As String, Caption As String = "", Icon As Picture = Nil, SmallIcon As Picture = Nil, DefaultWidth As Integer = 0, Horizontal As Boolean = False, HasMenu As Boolean = False, Enabled As Boolean = True, Visible As Boolean = True, Helptag As String = "", HelpPicture As Picture = Nil
 
| parameters=Name As String, Caption As String = "", Icon As Picture = Nil, SmallIcon As Picture = Nil, DefaultWidth As Integer = 0, Horizontal As Boolean = False, HasMenu As Boolean = False, Enabled As Boolean = True, Visible As Boolean = True, Helptag As String = "", HelpPicture As Picture = Nil
 
| returntype=
 
| returntype=
 +
| version=1.2.5
 
| platform=all
 
| platform=all
 
}}
 
}}
Line 12: Line 13:
  
 
Constructor for a RibbonButton.
 
Constructor for a RibbonButton.
If the Caption is an empty string, the Name is stored in the Caption.
+
If the'' Caption'' is an empty string, the ''Name'' is stored in the Caption.

Latest revision as of 13:25, 6 August 2015

Method
RibbonButton.Constructor ( Name As String, Caption As String = "", Icon As Picture = Nil, SmallIcon As Picture = Nil, DefaultWidth As Integer = 0, Horizontal As Boolean = False, HasMenu As Boolean = False, Enabled As Boolean = True, Visible As Boolean = True, Helptag As String = "", HelpPicture As Picture = Nil )


Constructor for a RibbonButton. If the Caption is an empty string, the Name is stored in the Caption.