Sub LoadImages
lst_Buttonprops.Initialize
'Return
Dim sDir As String = File.DirInternal
Dim sFile As String = "productlist.dat"
If File.Exists(sDir, sFile) Then
lst_Buttonprops = File.ReadMap(sDir, sFile)
End If
End Sub
Sub SaveImages
Dim sDir As String = File.DirInternal
Dim sFile As String = "productlist.dat"
File.WriteMap(sDir, sFile, lst_Buttonprops)
End Sub
Dim sKey As String = "Pos" & i
If map.ContainsKey(sKey) Then
Dim tPr As typProps' = lst.Get(i)
tPr = map.Get(sKey)
If tPr.bezeichnung <> "" Then btn.Text = tPr.bezeichnung