Difference between revisions of "PropertyListBox.toXML"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
m (1 revision)
Line 6: Line 6:
 
| parameters=SaveValues As Boolean = True, SaveStyle As Boolean = True, SaveAllOptions As Boolean = False
 
| parameters=SaveValues As Boolean = True, SaveStyle As Boolean = True, SaveAllOptions As Boolean = False
 
| returntype=String
 
| returntype=String
| version=1.5.0
+
| version=1.6.0
 
| platform=all
 
| platform=all
 
}}
 
}}

Revision as of 23:59, 9 April 2013

Method
PropertyListBox.toXML ( SaveValues As Boolean = True, SaveStyle As Boolean = True, SaveAllOptions As Boolean = False ) As String


If you need to store the properties and values before loading a new definition file, use this method to get a XML string 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