From Jeremie Leroy - XOJO Controls Wiki
Revision as of 18:27, 9 October 2015 by Admin (Talk | contribs) (1 revision imported)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
PropertyListBox.toJSON ( SaveValues As Boolean = True, SaveStyle As Boolean = True, SaveAllOptions As Boolean = False ) As JSONItem

If you need to store the properties and values before loading a new definition file, use this method to get a JSONItem of the contents. If SaveValues is false, only the property names are saved. The style of the Listbox (colors of headers, textfont, textsize, alignment…) can also be loaded from the XML definition. If you want to save the current style with the property and values, "SaveStyle" needs to be True. SaveAllOptions enables saving all options common display options from the Listbox Class. Delete this