PropertyListBox.NewRow

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
Method
PropertyListBox.NewRow ( Name As String, Caption As String = "", isChild As Boolean = False )


Because the Listbox uses its own storage system, to add a new row to the Listbox, use this method instead of Addrow. Caption and isChild are optional parameters. If Caption is an empty String, the Name is used as Caption. The “isChild” parameter is to set the new row as a child to the last Header. This is only effective if the Listbox is Hierarchical.