Difference between revisions of "PropertyListBox.toXML"
From Jeremie Leroy - XOJO Controls Wiki
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 | ||
| platform=all | | platform=all | ||
}} | }} | ||
Line 12: | Line 13: | ||
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 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 | + | 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 |
Revision as of 12:10, 24 November 2012
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