TBCanvas.CreateButton

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