TPersistentForm is a TForm subclass, that remembers the properties of itself and the properties of the components that are put on it. The properties are saved with the destroy event of the form and reloaded with the create event of the form. The information is stored likewise in an inifile or in the registry (Output to Inifile is default). With this class your program can save and restore position and size of forms, and all kind of information from component properties ie. text of TEdits, checked state of menu items an so on with no (or nearly no) owo code in the application. All is done automaticly by the class. Read instructions included in the source code! |