Navigation: ABC Library Reference > PrintPreviewClass > PrintPreviewClass Methods >====== SetINIManager (save and restore window coordinates) ====== | |
SetINIManager( INI manager )
SetINIManager | Enables save and restore of preview window position and size between computing sessions. |
INI manager | The label of the INIClass object that saves and restores window coordinates. See INI Class for more information. |
The SetINIManager method names an INIClass object to save and restore window coordinates between computing sessions.
Implementation:
The Open method uses the INI manager to restore the window's initial size and position. The TakeEvent method uses the INI manager to save the window's size and position.
Example:
ThisWindow.Init PROCEDURE()
CODE
!procedure code
ThisWindow.Init(Process,report,Previewer)
Previewer.SetINIManager(INIMgr)