PropertyListBox.toJSON

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
Method
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