JVCL Help:TJvAppIniFileStorage.FileName

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Name of the INI file.


Pascal

 propertyFileName: TFileName;


Description

FileName specifies which file is to be used as a storage. Filename is empty by default. If FileName is empty ini file will not be written.

How the path part of FileName is used will be taken into account according to the value of Location:

Location Meaning
flExeFile The path part of FileName is ignored and the file is created in the directory where the application is located
flTemp The path part of FileName is ignored and the file is created in the temporary directory
flUserFolder The file is created in the data directory of the current user. You can specify a relative path: "Appnameinifilename", but you will have to create directory "Appname". Unlike flExeFile and flWindows, this setting will work when logged under a limited user account.
flWindows The path part of FileName is ignored and the file is created in the windows directory
flCustom All parts of FileName are taken into account. FileName can initialized through OnGetFileName event.

See Also

TJvCustomAppMemoryFileStorage.Location


About

Notes

If you leave this property blank, the component will not load or save the values in a file.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page