Author Topic: components and ini files  (Read 1986 times)

Offline Grom

  • Almost regular
  • **
  • Posts: 206
components and ini files
« on: March 25, 2007, 06:15:24 am »
Do anybody know about a wx component that is able to save data fields from custom components to an ini file? Was something similar in Borland's IDE. That is very convenient tool. That is possible easily save the state of application. If it doesn't exist, somebody has to write it.
gcc+winXP+suse.

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: components and ini files
« Reply #1 on: March 25, 2007, 07:14:56 am »
Do you mean automagically?  Or just a data persistence component?  For data persistence just use wxConfig.  Automagically means it somehow finds and restores these properties without your help.  This is really not that easy in a language without reflection like C++.

Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: components and ini files
« Reply #2 on: March 25, 2007, 07:22:13 am »
I saw automatic one in Borland. Would be grate to find automatic for wxWidgets, even writer to XML script.
gcc+winXP+suse.