Difference between revisions of "TBCanvas.CreateButton"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
m (1 revision)
Line 6: Line 6:
 
| parameters=Caption As String, Name As String = "", HelpTag As String = "", Icon As Picture = Nil, SmallIcon As Picture = Nil, Enabled As Boolean = True, Visible As Boolean = True, Menu As MenuItem = Nil, Align As Integer = 0
 
| parameters=Caption As String, Name As String = "", HelpTag As String = "", Icon As Picture = Nil, SmallIcon As Picture = Nil, Enabled As Boolean = True, Visible As Boolean = True, Menu As MenuItem = Nil, Align As Integer = 0
 
| returntype=
 
| returntype=
| version=1.5.2
+
| version=1.6.0
 
| platform=all
 
| platform=all
 
}}
 
}}
Line 12: Line 12:
  
  
Creates a new [[TBButton]] and adds it to the TBCanvas.
+
Creates a new TBButton and adds it to the TBCanvas.

Revision as of 16:39, 9 February 2015

Method
TBCanvas.CreateButton ( Caption As String, Name As String = "", HelpTag As String = "", Icon As Picture = Nil, SmallIcon As Picture = Nil, Enabled As Boolean = True, Visible As Boolean = True, Menu As MenuItem = Nil, Align As Integer = 0 )


Creates a new TBButton and adds it to the TBCanvas.