GBC 4.00.04 new features and upgrade notes

A summary of new features and changes in functionality introduced with Genero Browser Client (GBC) 4.00.04. Note the changes you may need to make when moving to this version of the GBC.

Important:

This version of GBC is desupported, use a more recent version of the product.

Important:

This page covers only those new features introduced with the Genero Browser Client version specified in the page title. Check prior new features pages if you migrate from an earlier version.

For a detailed list of GBC 4.00.04 changes, please refer to the list of fixes on our issue tracker.

Previous new features page: GBC 4.00.03 new features and upgrade notes.

TableWidget theme variables

New theme variables are available for the TableWidget:

gbc-TableWidget-even-row-background-color GBC TableWidget even row background color when alternateRows 4ST is enabled.
gbc-TableWidget-odd-row-background-color GBC TableWidget odd row background color when alternateRows 4ST is enabled

For more information about theme variables, see Theme variables reference.

New navigation service

With NavigationService.js, it is possible to open or close an application, get the application list, and set the foreground application.

Method Description
newRootApplication Run a new application defined in the xcf file.
onNewRootApplication Register a handler to know when a new application is created.
getRootApplicationList Get all root applications.
getCurrentRootApplication Get the current root application.
setForegroundApplication Show the active window of an application.
closeApplication Close an application.
setApplicationListVisible Set the sidebar application list display mode (yes, no, auto).

New sidebar

When several applications are launched, a sidebar appears on the left. This sidebar lists all running applications, providing a means for switching between them.

By default, the application name is used. For better rendering, use an app icon in your 4GL code.

The size of the sidebar is set by the theme-sidebar-default-width theme variable. The expanded size of the sidebar is set by the theme-sidebar-max-width theme variable.

For more information, see Application page for GBC.

Topmenu in sidebar

When the window is too small, the topmenu is now located on the sidebar. For more information, see Application page for GBC.

Additional new features

  • Multi-row selection works on flipped tables.
  • WCI front calls getChildCount and getChildInstances are available.
  • ToolBar/TopMenu autoitems (programs and windows) are available.
  • New ergonomics for inactive windows.