Genero Desktop Client 2.21 New Features

This section describes the new features for Genero Desktop Client 2.21.

Table 1. 2.21 New features: General features
Overview Reference

You can now run your GDC 2.11 application with GDC 2.21 and your application behavior will be the same as GDC 2.11. This can be useful if you need to mix FGL 2.11 and 2.2x installations: you only need to install GDC 2.21.

See the Genero Desktop Client 2.21 migration guide.

The internal HTTP stack has been rewritten to support pre-2.20 features and HTTP retries. This enables pre-2.20 lost features like Kerberos Support, NTLM single Sign-on or Client certificate.

GDC is also able to retry when network errors occur. This was already the case in previous (late MR) versions, but now it may retry in more situations (ex: in case of HTTP error 500). This can be useful if your network is not too reliable and sometimes messages may be discarded before reaching GAS or returning to GDC. You can now configure how GDC will retry:

Table 2. 2.21 New features: Windows
Overview Reference

The Genero Desktop Client automatically displays scrollbars around the form when the window is larger than the desktop size.

This old feature has been completely reviewed to now work also when the window is not maximized. GDC will then automatically, when the window is larger, fit the size of the window to the desktop size (height or width) and display scrollbars around the form.
Note: This feature should be used carefully. A Desktop application is not a web application, and having scrollbars (especially horizontal ones) around the form is not common. As GDC will try to always show the current field, this may lead to lots of scrolling when you move from one field to another if the fields are not all visible.

We strongly recommend that you adapt your forms to the smallest desktop size you target; automatic scrollbars should only appear for "accident" cases.

If you prefer avoid automatic scrollbars and retrieve the behavior of previous versions (only getting scrollbars when the current window is maximized) you can use the following style attribute:
<Style name="Window.myWindow">
  <StyleAttribute name="formScroll" value="no">
</Style>
To achieve automatic scrollbars in a more stable way, the action frame (menu/dialog) has been reviewed. The new look is very slightly different, but the main behavior is the same.
  • Navigations button are different if you are on the first or last row.
  • A "plus" button has been added to display in one click all remaining items.
  • A little animation shows scroll direction.

As well as "maximized", windows can be started minimized using minimized as the value for the "windowState" style attribute.

See the Windows style attributes section in the Genero Business Development Language User Guide
Table 3. 2.21 New features: Widgets
Overview References

DateEdit now has a presentation style named "showCurrentMonthOnly". This style configures whether the calendar shows only the current months, or displays (in light grey) days of the previous and next month.

See the DateEdit style attributes section in the Genero Business Development Language User Guide

You can now set a range on the SpinEdit widget with the new attributes valueMin and valueMax.

See the SpinEdit item type section in the Genero Business Development Language User Guide

Image field now supports style attribute "alignment" to define where the picture should be located when the container (widget) is bigger.

See the Image style attributes section in the Genero Business Development Language User Guide

Window supports new style attribute "toolBarDocking" to define if the toolbars are movable and floatable.

See the Windows style attributes section in the Genero Business Development Language User Guide
Table 4. 2.21 New features: Presentation styles
Overview Reference

You can now set a point font size with a non-integer value, for example 8.3pt.

See the Font sizes section in the Genero Business Development Language User Guide
Table 5. 2.21 New features: Monitor
Overview Reference

The Connection tab now displays both the application name and text.

See the Connection tab topic.

Users now receive an error message if the number of user licenses is exceeded. User Limit exceeded is now a default terminal string, so the end user has feedback if the application can't start because of a license issue.

 

Debugging information has been added to the debug console when a shortcut starts. Analyzing this log may help you to understand what GDC did, and why a connection may have failed.

 

Genero Desktop Client 2.21 is now supported on Windows™ 7 platform.

 

GDC 2.21 has been adapted to work with WinSSHd 5.0.9 (some changes in the server have been done by Bitvise too, so you'll need to upgrade the server part to at least version 5.0.9.)

 
Table 6. 2.21 New features: FrontEnd functionCall
Overview Reference

"Hardcopy" is now available as a frontCall.

See the Hardcopy section in the Genero Business Development Language User Guide

"launchurl" frontCall signature has the same signature in the Genero Web Client (GWC) and in the Genero Desktop Client (GDC)

See the LaunchURL section in the Genero Business Development Language User Guide
Table 7. 2.21 New features: Miscellaneous
Overview Reference

Windows® Only: The HardCopy menu item is now available in the system menu for MDI child windows.

 

Windows now uses the MSI installer system.

 
File association and start menu entries help to improve desktop integration:
  • .gdc files are associated with the Genero Desktop Client to be run directly in your favorite explorer (Windows, Linux®).
  • Linux installer creates entries in your desktop start menu.
 
Table 8. 2.21 New features: Experimental features
Overview Reference
It is now possible to see a Flash application in the pages you display with the Integrated browser.
Note: Note: This feature uses Netscape Plugin technology, which is also used by Mozilla Firefox or Google Chrome. So, you need to have Firefox, Chrome plugin, or stand-alone Adobe™ flash player installed. Having Microsoft™ IE plugin only is not enough.
 

Compositing allows you to make some fancy effects with window transparency.

Windows Vista and Windows 7 introduced Compositing. This allows you to make some fancy effects with window transparency. If you want a semi-transparent window in GDC, you may use the blurBackground style attribute:
<Style name="Window.semitransparent">
  <StyleAttribute name="blurBackground" value="yes"/>
</Style>

See the classic demo application with a semi-transparent background, running on Windows 7. This will not work on older version of Windows (XP and before), but may work on Linux depending on the windows manager capabilities.

 
Windows Vista introduced a Command Link Button: a push button with a nicer design, showing the comment directly. When the mouse goes over the button, a nice gradient effect occurs.
If you want a Command Link Button in GDC, you may use "commandLink" as the value for the "buttonType" style attribute:
<Style name="Button.commandLink">
  <StyleAttribute name="buttonType" value="commandLink"/>
</Style>

You can now add a Windows Vista (or Windows 7) Command Link Button style in your application, and use the mouseover effect.

This will work on Windows Vista / Windows 7 only. On other systems it displays a simple button with the text and the comment, but without the nice mouseover effect.

 
Two new frontcalls have been added in the standard frontcall library:
  • storeSize asks GDC to store the current size of the current window.
  • restoreSize asks GDC to restore the stored size.