Application Settings - Main Window

An application has different windows or dialog boxes displayed to the end user. You can configure several options related to these windows.

The main window lets your end users navigate through your application, and it displays the HTML pages of your website. You can customize its appearance with the options of this tab.

Window Caption

Enter the text that should appear on the window's title bar (it only appears on the title bar: it does not affect the application title which is displayed in the Windows taskbar or task manager). You can also display the title of the current HTML document using the %DOCTITLE% variable.

For example, My first application - %DOCTITLE% would become "My application - Contents Page" if the HTML page had its title set to "Contents Page".

State of the main window

  • Display a standard window: creates a window with the default size.

  • Display a maximized window: the window will be maximized, filling the screen. Some additional options for maximized windows are also available below. Note: if you have enabled "Save user-defined window position", the application stores the state too! Be sure to reset your settings (in Application Menu Button => Build) before changing this option.

  • Display a custom-sized window: if you wish to define the size of the window yourself, enter the default width and height in the different fields. You may also click the Auto-Sizer button: it will display a small window that you can resize as you want, then ExeOutput for PHP will automatically set the main window's height and width according to the size you have chosen.

Allow end users to resize the window

This option determines whether end users may resize the application's main window or not. Disabling this option is generally not recommended.

Enable Maximize Window button

This option lets you add or remove the standard Maximize button of the window. Useful if you have already set the window to maximized and do not want it to be switched to the normal state.

Windows stay on top

This option indicates whether the main window remains on top of the desktop and of other windows (except the ones defined with the same style in other applications).

Popups stay on top

This option makes the popup windows remain on top of the main window. If unchecked, popups appear as new windows in the taskbar and can be behind the main window.

Save user-defined window position

If turned on, the application will save the window's size and position as it was decided by the user. The next time the application is run, it will use the size and position it saved instead of the initial ones. This option is highly recommended. If you turned it off, the application would always use the initial settings you set. If you wish to only save the size, then you can also turn on the "Always center the window" option.

If this option is not enabled, then the main window will appear centered in the screen.

Always center the window

This option centers the main window on the screen when the application is loaded; it overrides any user-defined window position that could have been saved from a previous instance. Not recommended for multiple-monitors.

Minimal window height/width

Lets you add resizing constraints to the main window. Leave 0 to disable these constraints.