GBC 4.00.04

This page provides information about new features, as well as changes you need to plan for when migrating your customization to this version.

For detailed lists of changes, please refer to:

Theme variables

New theme variables are available:

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

New navigationService

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

Method Description
newRootApplication Run a new application defined in the xcf file
onNewRootApplication Register an 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 Get the current root applications
setApplicationListVisible Set the sidebar application list display mode (yes, no, auto)

New Application List

When launching several apps, a new sidebar appears on the left. This new sidebar lists all running apps, providing a means for switching between them.

By default, the app 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.

TopMenu in SideBar

When the screen is too small, the TopMenu is now located on the new sidebar.

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