Defining the Window Style

The style is the name given to the group of properties that effect the general behavior of the window.

Some of the properties interact with one another, for example if you enable the System menu, the title bar is automatically displayed.

  • Title bar - Display the configured title in the title bar.
  • System menu - Display the System Menu icon on the title bar.
  • Iconizable - Display the Iconize button on the title bar.
  • Maximize - Display the Maximize button on the title bar.
  • Sizeable - Allow the window to be sized by clicking and dragging the border.
  • Moveable - Allow the window to be moved by clicking and dragging the title bar. Note that the title bar is not automatically enabled.
  • Foreground – The window is always displayed in the foreground, i.e. any other windows opened at the same time will be forced behind it.
  • Close - Display the Close button on the title bar.
  • Small caption - Display a narrow title bar and use a small font for the window title.
  • Border - Display a standard style border around the window.
  • Client border - Display a client style border around the window.
  • Static border - Display a static style border around the window.
  • Modal – The window exhibits modal behavior, i.e. the window retains focus until it is closed.
  • Cache - The window is saved in cache memory after the first time it has been opened. Subsequently, when the window is opened it will appear on the screen quicker than if was being opened from the hard disk. When a window is in cache it uses system resources (memory and CPU time) and so this last option should only be used when essential. The cache is restricted to a finite number of windows as defined in the Project start-up conditions.