Logged out, click to login

JEDI Online help - Details



Back to unit JvAppIniStorage.pas Back Edit Search Administration

TJvAppIniFileStorage.AutoReload

Summary
If set to True, the Reload method will be called whenever an information is about to be read from the in memory file.

Description
Please note that if AutoReload is set to True and AutoFlush is not, then only the very last change done will be written into the physical file. Look at this sequence:<br> <br> <PRE><br> Write (calls Reload before writing)<br> Write (calls Reload before writing)<br> Write (calls Reload before writing)<br> Write (calls Reload before writing)<br> Destroy (calls Flush) </PRE><br> The only time Flush is called is when the component is destroyed, thus only putting the last Write into the file. This is why AutoFlush should always be set to True when AutoReload is. This is not ensured by the component because some user may want this behavior to happen.<br>

See Also
TJvAppIniFileStorage.AutoFlush, TJvAppIniFileStorage.FileName, TJvAppIniFileStorage.Reload

Last changed by obones on 2009-01-04 20:46:01 CET

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library