Solved

Storing object information

Posted on 1998-08-27
1
137 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
[X]
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
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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