Solved

Storing object information

Posted on 1998-08-27
1
132 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
proper way to parse url in delphi 2 134
delphi exception 7 58
Create Database on Android via Delphi dbExpress 3 66
LAN or WAN ? 11 61
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…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now