Re: Last details before the first release
From: Pete Fraser (pete.fraser_at_frasersoft.nospam.com)
Date: 02/20/05
- Next message: Dennis Landi: "[64-bit] Pascal Compiler inherently Faster than C++ ?"
- Previous message: Martin Waldenburg: "Re: Is Delphi 2005 a toy?"
- In reply to: Martin James: "Re: Last details before the first release"
- Next in thread: Alfredo Bellei: "Re: Last details before the first release"
- Reply: Alfredo Bellei: "Re: Last details before the first release"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 20 Feb 2005 13:44:11 -0000
I use RxLib's TSorage which is very simple to use.
Bring up the dialog by double clicking on the icon and then
select the component on the form from the list. Relevant
properties are displayed and you just select the ones to
store. Very nice and free. I guess it's part of JVCL now
so still supported (?)
HTH Pete
"Martin James" <mjames_falcon@dial.pipex.com> wrote in message
news:4217d3e1@newsgroups.borland.com...
> >
>> - My program has a main settings form. I wanted to use classical approach
> and put a treeview control to the left side and right side is the place
> where i can change the related settings. Now i want to know what do you
> use
> for to store these settings ? I don't remember where but i saw an article
> about to store settings with object oriented way with creating a component
> and stream it's details to the registry. Or do you think that i should
> store
> everything to the registery in a classical way ?
>
> Well, I save my config form to a DFM-like file. In its simplest form,
> (sic), this requires only a few lines in the destructor and/or called in
> the
> onClose event. The filename is formed from the form classname & the file
> path is derived from the Windows APPDATA path so it's different for each
> user. When the form is created again, the override constructor assembles
> the file path & checks to see if the file exists. If not, the inherited
> create is called to create the form in the usual way. If the file exists,
> an 'empty' form is created with 'createNew' and then all its components
> streamed in from the file using Tstream.readComponent.
>
> I do not go near the registry. It's too M$ssy & Windowy :)
>
> RGds,
> Martin
>
>
- Next message: Dennis Landi: "[64-bit] Pascal Compiler inherently Faster than C++ ?"
- Previous message: Martin Waldenburg: "Re: Is Delphi 2005 a toy?"
- In reply to: Martin James: "Re: Last details before the first release"
- Next in thread: Alfredo Bellei: "Re: Last details before the first release"
- Reply: Alfredo Bellei: "Re: Last details before the first release"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|