Autor Beitrag
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Sa 07.06.03 18:50 
Hallo,
wie kann man ambesten alle werte von allen komponenten am BESTEN in einer datei bekommen ?
gibt es schon fertige funktionen oder muss ich mir meine einge schreiebn ???

PS
habe die suchfunktion genutzt aber nicht gefunden :( :(

_________________
MFG
Michael Springwald, "kann kein englisch...."
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 07.06.03 19:14 
es gibt doch bei nem filestarem die procedure savecomponenttofilestarem oder so ähnlich. such doch mal hier im forum nach Listview speichern !
da hab ich mal so nen code gepostet

_________________
In the beginning was the word.
And the word was content-type: text/plain.
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 07.06.03 19:15 
ich hab den link grad mal rausgesucht: www.delphi-forum.de/viewtopic.php?t=11468

_________________
In the beginning was the word.
And the word was content-type: text/plain.
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Sa 07.06.03 19:34 
ne, das ist nicht das was ich gesucht habe :( :(
ich meinte, wie bekomme ich alle einstellungen von allen komponenten in einer datei rein ?
ich will nicht ca 12-18 dateien haben:)

_________________
MFG
Michael Springwald, "kann kein englisch...."
Tweafis
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 647

WinXP + fbsd
Delphi 5 Prof
BeitragVerfasst: Sa 07.06.03 20:06 
Ích weiß jetzt nicht genau was du meinst, aber wenn du das auf der Delphi Oberfläche hast kannst du auch die Kompos makrieren und Strg+C und in ne Txtdatei reinkopieren.

_________________
.: Es wird der Tag kommen, an dem wir es nicht mehr ändern können :.
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Sa 07.06.03 21:04 
ja, das weiß ich aber das meine ich nicht.
ich will einfach zur "laufzeit" die werte von ALLE componenten speichern.
hatte zwar schon 2 proceduren geschrieben die das können, aber die haben leider mängel z.b. speichern die nur bestimmte komponenten ab und auch nur bestimmte eingenschaften.

ich dachte es gebe sowas was alles abspeichert.
oder wüsste jemmand wie man sowas machen könnte?
mein code sah z.b. so aus:
ausblenden Delphi-Quelltext
1:
2:
3:
for i:=0 to componentencount do begin
  if component[i] = komponentenname then ...... 
end;

und so finde ich es doof :(

_________________
MFG
Michael Springwald, "kann kein englisch...."