Re: Last details before the first release

From: Pete Fraser (pete.fraser_at_frasersoft.nospam.com)
Date: 02/20/05


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
>
>



Relevant Pages

  • Re: Some problems when using the Hive_based registy
    ... I could see the control panel, and the setting in the registry can be ... I could not see the "documents and settings" under the root ... And I still can not see the flash store folder. ... file system from ROM-only to RAM+ROM, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Some problems when using the Hive_based registy
    ... When you say "removed this flag" you removed it from the boot registry ... The MountAsBootable flag is used to detemine the store on which to put ... the hives and the "documents and settings" folder is the subfolder you ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Last details before the first release
    ... I used to store everything to the registry but now have moved to the ... Settings to load the icon. ... Software Protection and Trial period would definitely be useful. ...
    (borland.public.delphi.non-technical)
  • Re: Last details before the first release
    ... > where i can change the related settings. ... > use for to store these settings? ... > component and stream it's details to the registry. ... Action property to one of the ActionListīs action and itīs done. ...
    (borland.public.delphi.non-technical)
  • Re: How do I save printer settings to a certain document?
    ... No version of Word has ever been able to store a printer ... Microsoft MVP (Word) ... printer settings when a document is saved wheras previous versions used to ... "Suzanne S. Barnhill" wrote: ...
    (microsoft.public.word.docmanagement)