Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Storing object information

Posted on 1998-08-27
1
135 Views
Last Modified: 2010-04-04
Is there an easy way to store an objects properties in the registry, or in a file? I'm making an application where the user can select a standard font. How do I save information about the font without making an entry in the registry for each property? I would like to be able to do that to any object.
0
Comment
Question by:red_2
1 Comment
 
LVL 4

Accepted Solution

by:
itamar earned 100 total points
ID: 1337931
Hi red_2,

There is a shareware component just for that:

"... Auto re/store properties in file. TSaver component
     is designed to store some or all properties form a form and all containing
     components in text (standard INI) file. TSaver cares with automatic property
     storage in file when the form is closed and for (ver. 1.0, added 2/3/97, no
     src.) " :
     http://sunsite.icm.edu.pl/delphi/ftp/d20share/saver.zip

A free one:
"... WinSaver component help you to easily save
     windows' property in your own applicatoin (ver. 1.2, added 5/6/96)
          by Kuan-Da Chen":
     http://sunsite.icm.edu.pl/delphi/ftp/d20free/winsav12.zip

 
If you want to make it by yourself, take a look at thi:

"....Example of how to store a Component and its
     properties to a disk file or a Blob field (ver. 1.01, added 6/26/98)
     by Theodoros Bebekis :"
     http://sunsite.icm.edu.pl/delphi/ftp/d30free/saveprop.zip

IHTH,
Itamar
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question