Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 24280, Form content save and restore

by Peter Below Email: Anonymous


Provides a set of classes that can be used to save and restore the user-editable content of a form and also check a form for changes against the last saved state.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 6.0  to 10.0 382 downloads
Copyright: No significant restrictions


Size: 296,265 bytes
Updated on Sun, 17 Dec 2006 03:22:44 GMT
Originally uploaded on Sun, 17 Dec 2006 03:01:46 GMT
SHA1 Hash: 85777AF0C8558E192F77440F885B89F37F1C2B9E
MD5 Hash: 8E1E908E8789E5A76F02BE4DDF058A70

    Explore the files in this upload

Description
On complex forms it can be cumbersome to figure out if the user changed some input on the form, so he can be prompted for saving the content. The set of classes provided in this upload provides a generic and extensible solution for the problem of saving a forms content, restoring a saved state, and checking for changes relative to a saved state. The approach taken uses the factory pattern to handle specific component classes. Handlers for the most commonly used control classes are provided.
The TFormStateStore class provided can deal with components on nested frames and also handle embedded forms if they are owned by the host form.
The sample app was written in response to a newsgroup message, see URL for the start of the thread.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04