Difference between revisions of "PropertyListBox.LoadFromJSON"
From Jeremie Leroy - XOJO Controls Wiki
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 17:27, 9 October 2015
Method
PropertyListBox.LoadFromJSON ( js As jsonItem, 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.