GUI ScreenIO for Windows

 ScreenIO.com


The Main (container) Panel

Every GUI ScreenIO application begins by creating the application's main window.  It's simply an empty container for your other panels, and it looks something like this at runtime:

 

You create a main container by selecting "Standard Main" when defining a new panel in the Panel Editor.

The container just holds base panels; it cannot contain controls.

The main panel does this:

  1. It defines the client area that will be occupied by your Base panels
  2. It is the owner of all of the panels displayed by your application
  3. It reserves space for your panel menus and for the status bar
  4. It defines the maximum size of your application's window when it is not maximized (that is occupying the entire display) 
  5. It can be dragged larger or smaller by the user
  6. It specifies the company name and application name keys that GUI ScreenIO will use for storing panel state data in the registry
  7. It sets several other system-wide defaults

An application may have only one main panel.    

Generally speaking, you can just fill in the first two pages of the Main Panel wizard and then accept the defaults, which are suitable for most applications.

Save and restore

Point 6 above is important.  GUI ScreenIO will remember where users positioned the application on their monitor, and will re-start the application in that same place next time.  The size of screens is also remembered.  The width of Listview Columns, the position of Pop-up panels are all remembered.  

However, these things are only Remembered and Restored if you supply a company name and an application name while defining the main panel.

Positioning information for the main is saves when you Close the Main. So be sure you do close the main before you stop run.

 

If you want to change the properties of your main panel, select Panel/Properties from the main menu.

Space for the menu is reserved even if you don't use the menu area for anything.

Related topics:


© 2000-2019 Norcom, all rights reserved 

TOC

Send feedback to Norcom