skip to content
Clarion Community Help
User Tools
Log In
Site Tools
Search
Tools
Show page
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
>
Recent Changes
Media Manager
Sitemap
Trace:
open_prepare_preview_window_for_display_.htm
| **Navigation:** [[abc library reference.htm|ABC Library Reference]] > PrintPreviewClass > PrintPreviewClass Methods >====== Open (prepare preview window for display) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[kill shut down the printpreviewclass object .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[setinimanager save and restore window coordinates .htm|{{btn_next_n.gif|Next page}}]] | | || **Open, VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} The **Open **method prepares the PrintPreviewClass window for initial display. It is designed to execute on window opening events such as EVENT:OpenWindow and EVENT:GainFocus. **Implementation:** The Open method sets the window's initial size and position, enables and disables controls as needed, and sets up the specified zoom configuration. The WindowManager.TakeWindowEvent method calls the Open method. **Example:** **ThisWindow.TakeWindowEvent PROCEDURE** ** CODE** ** CASE EVENT()** ** OF EVENT:OpenWindow** ** IF ~BAND(SELF.Inited,1)** ** SELF.Open** ** END** ** OF EVENT:GainFocus** ** IF BAND(SELF.Inited,1)** ** SELF.Reset** ** ELSE** ** SELF.Open** ** END** ** END** ** RETURN Level:Benign** **See Also: **[[takewindowevent a virtual to process non field events windowmanager .htm|WindowManager.TakeWindowEvent]]
open_prepare_preview_window_for_display_.htm.txt
· Last modified: 2021/04/15 15:57 by
127.0.0.1
Page Tools
Show page
Old revisions
Backlinks
Back to top