Question ID : 307
Created on 2019-11-12 at 9:47 AM
Author : Veryant Support [firstname.lastname@example.org]
Online URL : http://support.veryant.com/support/phpkb/question.php?ID=307
Yes, starting with isCOBOL 2019R2, all the isCOBOL GUI, Graphical windows, Screen Programs or isCOBOL WOW programs generated by the IDE can take advantage of an easy to use and low impact layout manager to handle application resizing.
Simply by setting the configuration setting:
iscobol.gui.layout_manager=lm-zoomthe new Zoom Layout manager is activated, windows automatically become resizable, and all controls are adjusted in size when increasing the window width, and in font size when increasing the window height.
working-storage section. 77 zoom-layout handle of layout-manager, lm-zoom. ... procedure division. ... display standard graphical window resizable layout-manager zoom-layoutThe picture below shows how the program runs at startup, before the user resizes the window.
The picture below shows how the GUI looks like after the user stretches the window horizontally.
The picture below shows how the GUI reacts after the window is resized both horizontally and vertically.
You can test this new feature by running our Samples program. Go to:
Then press enter, press F5 or double click the Zoom Layout item of the tree-view to start the program.
Back to Original Question