You are here: Home Products GUI Clients Dynamic Window and Form management
Document Actions

Dynamic Window and Form management

The developer now has full dynamic control of windows, forms and their respective gui window properties.

Window Properties

The developer has full dynamic control of all window properties, such as:

  • Window Name, Color, Border...
  • Window size is not constrained by text mode
  • Window location absolute/relative
  • Titlebar label and icon
  • Titlebar window control buttons
  • Titlebar/Statusbar visible/hidden
  • Statusbar text
  • Window Toolbar and Context Menu
  • Text fonts and attributes ...


Managing Windows And Forms Dynamically

Dynamic Window and Form Handling

‘Hydra4GL’ allows the management of windows and forms dynamically. This gives the developer more control and increases efficiency as the code becomes more flexible and manageable. Functions with window operations can easily be written for code-reuse, which saves time and removes repetitive code fragments of window operations. All options and attributes available in the OPEN / CLOSE / CURRENT / CLEAR... Window/form statements are catered for and additional properties such as the Titlebar text can be managed too.

Relative Window positions

There is also the option to open windows absolute or relative to the parent window.



Window Layout

Padding and Scaling

The Querix GUI clients define the Grid size and line padding by calculating the average character size of the specified default font. This can now be refined using script options for horizontal/vertical scale and line padding.

undefined

.

OPTIONS ON CLOSE <option>

‘Hydra4GL’ 4.3 provides an extension to the ‘ON CLOSE’ undefined

OPTIONS clause. This clause allows you to determine the action when the user clicks the close button on the top right corner of an application window.

There are four possible actions to be taken when the button is clicked:

  • STOP
  • CONTINUE
  • CALL
  • KEY