Autor Beitrag
Neidhard von Reuental
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 268

XP
BDS 2006 Prof
BeitragVerfasst: Mi 06.10.04 18:09 
suche thema in dem es um das speichern von fenster- und/oder objekteigenschaften geht.
irgendwo hab ich das hier gelesen aber ich find nicht mehr :(
falls jemand weiß wo ich ihn finde bitte ich um aufklärung, thx :)


Moderiert von user profile iconChristian S.: Topic aus VCL (Visual Component Library) verschoben am Mi 06.10.2004 um 19:16
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mi 06.10.04 19:19 
Guck dir mal von den JEDIs unter JVPersistence die TJvFormStorage an ...

Ansonsten ist das ganze ne Heidenarbeit mit dem DsgnIntf und den Type- und Prop-Infos ....

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Neidhard von Reuental Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 268

XP
BDS 2006 Prof
BeitragVerfasst: Do 07.10.04 15:03 
oki, hab es jetz noch selber gefunden. geht ganz einfach mit TStream (und abgeleitete klassen)
TStream.WriteComponent(TObjekt) zum schreiben der objekteigenschaften in den stream
und
TStream.ReadComponent(TObjekt) zum lesen der objekteigenschaften aus dem stream.

dabei ist zu beachten das alle unterobjekte mit gesichert werden (z.b. buttons,labels,images(mit enthaltenem bild),...