Difference between revisions of "RibbonButton.Constructor"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
m (1 revision)
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.

Revision as of 00:55, 25 May 2012

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.