Pythoness Software Home

Buy Online


Overview Home

How It Works

Form Information

MRU Lists

Component Properties

Generic Settings

Advanced Settings

PSetting Overview & Usage: How It Works
Simply drop a PFormSettings component onto your form at design time to get started. PFormSettings manages all form-related state information. The PAppSettings component is used to store application-wide state information and will be discussed later.

Property Selection Example Image How does it work? PSetting uses Delphi-provided run-time type information (RTTI) to monitor the state of your application's forms and components. At design time, you select which properties of your application you want PSetting to maintain. Just double-click the PFormSettings component and make a few selections to enhance your application. The component editor lists all the components on the form and their properties. You may choose as many items as you like. In the sample shown at the right, the programmer has just selected to save the ActivePage property of the TPageControl component named PageControl1. This simple selection causes the application to remember which page is selected in the application and to restore that when the application is run the next time.

Because PSetting uses RTTI, it can maintain any published property of any component made by any vendor. PSetting also allows you to maintain important hidden properties of components. Hidden properties are discussed later.

Now that you know how PSetting works, continue reading to find out more about what it can do for you.




To continue reading the PSetting Overview & Usage articles, use the buttons at the right to move to the previous article or the next article, respectively. Overview Home Form Information
Copyright © 1997, 1998 Pythoness Software. All rights reserved. Pythoness, the Pythoness Logo, and the Write Better Software logo are trademarks of Pythoness Software. Borland is a registered trademark and Delphi is a trademark of INPRISE Corporation. All other trademarks and registered trademarks are property of their respective holders.
Questions? Email us! Last updated: 11 August 1998