Hallo Leute,
habe ich ziemlich merkwürdiges Problem:
Ich fülle einen ValueListEditor mit einer Funktion, leere ihn jedoch vorher.
Wenn ich diese Funktion dann jedoch nochmal aufrufe erhalte ich irgendwelche Zugriffsfehler!
Hier der Code:
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30:
| begin Form5.EditName.Text:=LVCatalogs.Selected.Caption; Form5.EditDiscription.Text:=LVCatalogs.Selected.SubItems[0]; Form5.EditRow.Text:=IntToStr(LVCatalogs.ItemIndex); Form5.EditFile.Text:=LVCatalogs.Selected.SubItems[1]; Katalog.Text:=''; Katalog.LoadFromFile(Stammverzeichnis+'Kataloge\'+LVCatalogs.Selected.SubItems[1]); Form5.Edit1.Text:=Katalog.Strings[0]; Form5.EditSubName.Text:=Katalog.Strings[1]; Form5.Memo_Discription.Text:=StringReplace(Katalog.Strings[2],'\break',#13#10,[rfReplaceAll]); i:=0; Form5.VLE.Strings.Clear; Form5.Show; |
Ich hoffe, ihr könnt helfen!!!
Danke schonmal,
Mann aus Delphi