Difference between revisions of "PropertyListBox.LoadFromXML"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
m (1 revision)
Line 6: Line 6:
 
| parameters=Str As String, keepValues As Boolean = False, AutoSetDefaultValues As Boolean = False
 
| parameters=Str As String, keepValues As Boolean = False, AutoSetDefaultValues As Boolean = False
 
| returntype=Boolean
 
| returntype=Boolean
 +
| version=1.5.0
 
| platform=all
 
| platform=all
 
}}
 
}}
 +
 +
 +
 +
This method is used to load a XML-definition to "populate" the Listbox.
 +
An example of XML definition is available in the Notes sections of the PropertyListBox.
 +
 +
Optional parameter '''keepValues'''. Default is False.
 +
If the Listbox already contained a data set, and the new data set is quite similar, you can try to keep the previous values with the '''keepValues''' property.

Revision as of 12:10, 24 November 2012

Method
PropertyListBox.LoadFromXML ( Str As String, keepValues As Boolean = False, AutoSetDefaultValues As Boolean = False ) As Boolean


This method is used to load a XML-definition to "populate" the Listbox. An example of XML definition is available in the Notes sections of the PropertyListBox.

Optional parameter keepValues. Default is False. If the Listbox already contained a data set, and the new data set is quite similar, you can try to keep the previous values with the keepValues property.