Difference between revisions of "PropertyListBox.NewRow"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
 
m (1 revision imported)
 
(11 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
| parameters=Name As String, Caption As String = "", isChild As Boolean = False
 
| parameters=Name As String, Caption As String = "", isChild As Boolean = False
 
| returntype=
 
| returntype=
 +
| version=1.8
 
| platform=all
 
| platform=all
 
}}
 
}}
Line 12: Line 13:
  
 
Because the Listbox uses its own storage system, to add a new row to the Listbox, use this method instead of Addrow.
 
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.
+
Caption and'' isChild'' are optional parameters.
If Caption is an empty String, the Name is used as Caption.
+
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.

Latest revision as of 17:27, 9 October 2015

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.