
Other Technical Support Options
|
PSetting: Frequently Asked Questions
- Could you please explain how to use Generic settings?
Let me give you an example of a generic setting that I used in a previous application. I was writing an application to be used world wide and needed to present information in either pounds/kilos, acres/hectares, etc. The first time the application ran, it determined the most appropriate setting based on the International settings in Windows. I had a generic setting called International Units which I used as follows:
PAppSettings['International Units'].AsBoolean := {whatever}
Then, throughout the application, I was able to check the setting using:
if ( PAppSettings['International Units'].AsBoolean = TRUE ) then
{whatever}
Generic settings can be used at the form level, or throughout an application (if you place a PAppSettings component in a DataModule, for example) and exist to simplify the process of saving/restoring such information.
- Do I have to pay royalties to Pythoness Software if I include PSetting in my application?
No.
|
|
|
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
|
|
|