|Declaration:||function LoadFromXMLFile (FName: string; DataID: string): boolean; |
The function LoadFromXMLFile reads a string array from the file FName. If the parameter DataID is empty, the first <strarray> tag is evaluated and read into the string array. If DataID is not empty, the entire file is read until a <strarray> tag is found whose attribute "id " matches DataID (the recognition of the "id
" attribute is not case-sensitive). The function LoadFromXMLFile returns TRUE if both a valid starting tag <strarray> and a valid end tag </strarray> has been found and the string
array has been updated. In this case the OnChange event is triggered.
||The XML description of the string array data has to follow a certain order: number of columns and rows have to precede all other data of the array.|