Autor Beitrag
webmaker
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 205



BeitragVerfasst: Do 03.07.03 18:01 
Hi,
ich habe ein Problem mit dem Valuelisteditor. Ich habe díese Tabelle oder liste auf einer Form, die bei jedem Neuanzeigen (Onshow-Event) die Liste neu laden muss.
Das Problem ist jetzt ja dass ich erst alle Items (Keys und Werte) löschen muss, um sie dann neu zu laden. Ich habe das so probiert:
ausblenden Quelltext
1:
valuelisteditor.Strings.Clear					

Das funktioniert aber nicht so wirklich. Beim 2. mal laden kommt es dann zu einer Access Violation...beim ersten Laden/Öffnen des Forms nicht. Warum?
So füge ich sachen hinzu:
ausblenden Quelltext
1:
       manager.ValueListEditor1.InsertRow(IntToStr(Wnd), GetText(Wnd), true);					

Habt ihr ne Ahnung wie ich das jetzt machne soll?

_________________
.::Wissen ist Macht, nichts wissen macht nichts::.
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: Sa 05.07.03 14:11 
hi webmaker,
ich hab das jetzt mal bei mir ausprobiert und alles funktioniert ohne probeme!

_________________
Patrick
im zweifelsfall immer das richtige tun!!!
webmaker Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 205



BeitragVerfasst: So 06.07.03 09:09 
Das lag auch irgendwie an was anderem. Hat nämlich vorher auch geklappt.
Jetzt nehme ich ne ListView und alles klappt...

_________________
.::Wissen ist Macht, nichts wissen macht nichts::.
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: So 06.07.03 12:31 
meine rede:
Warum Probleme lösen wenn man sie umgehen kann...
:mrgreen:

_________________
Patrick
im zweifelsfall immer das richtige tun!!!