Difference between revisions of "PropertyListBox.toXML"
From Jeremie Leroy - XOJO Controls Wiki
m (1 revision) |
m (1 revision imported) |
||
(3 intermediate revisions by 2 users not shown) | |||
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. | + | | version=1.8 |
| platform=all | | platform=all | ||
}} | }} |
Latest revision as of 17:27, 9 October 2015
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