Autor Beitrag
.#R4id
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 90

Windows XP Prof.
CodeGear Delphi 2007
BeitragVerfasst: Fr 14.12.07 19:00 
Hallo...

Ist es möglich das komplette TreeView inkl. Record des jeweiligen Items in einer INI zu speichern?
Ich habe schon ein paar Methoden auf SwissDelphiCenter.ch ausprobiert, hat aber nie das Record mit gespeichert.

_________________
ausblenden Delphi-Quelltext
1:
if CopyAndPaste not avaible then Developer := Helpless;					
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Fr 14.12.07 19:13 
Nein das geht nicht direkt. Wenn das Record aber aus Strings, Integern etc. besteht, dann kannst du das ja aufgedröselt in die Ini schreiben.

_________________
We are, we were and will not be.
.#R4id Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 90

Windows XP Prof.
CodeGear Delphi 2007
BeitragVerfasst: Fr 14.12.07 19:27 
Hier mein Record:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
PMyRecord = Record
  Title: String;
  Address: String;
  UDPPort: Integer;
  TCPPort: Integer;
end;
TMyRecord = ^PMyRecord

_________________
ausblenden Delphi-Quelltext
1:
if CopyAndPaste not avaible then Developer := Helpless;					
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Fr 14.12.07 19:29 
Ja, dann speichere die vier Sachen doch einzeln ab und setz die beim laden wieder zu einem Rekord zusammen

_________________
We are, we were and will not be.