Dynamic Resizing Overview

Dynamic Resizing functionality enables the changing of the size and position of objects on a PROIV screen when the browser is resized by dragging the corner of the browser window, or by clicking the window's Maximise . (Pop-Up Windows can also be resized.) This applies to PROIV applications deployed using Open Client technology.

When a PROIV Session connects, the application is rendered in the PROIV Panel, which is sized according to the PROIV Developer screen size. The PROIV Panel is held within a browser frame, this may be larger or smaller than the panel. If the frame is larger the PROIV Panel, it increases the rows and columns to utilise the additional space. If the browser frame is smaller than the panel, scroll bars are displayed on the frame so that all of the panel can be viewed. The PROIV Panel will not reduce in size below the size in rows and columns specified PROIV Developer screen size.

Click here to see an overview of the PROIV Panel rendered in a browser with Dynamic Resizing enabled.

The following Object Types can be configured to resize:

Configuration

You turn on Dynamic Resizing by either enabling one of the following Application properties in logic, or by setting the Max Height and Max Width on the appropriate Property Sheet for the Object Type.

Application Property

The Application Property turns on autoresizing for all of the selected Object Types.

Object Type Property

The Object Type property turns on resizing for a particular Object Type. To turn it on, set the values in the Max Height and Max Width fields on the appropriate Property Sheet for the Object Type.

For example, to turn on resizing for a Box, enter the maximum height and width of the box in the Open Client section (highlighted in yellow in the example screenshot). This determines the maximum width and height that the box can be resized to in rows and columns. The values must be greater than the Height and Width values (highlighted in red in the example screenshot) for resizing to occur.

Note: The Max Height and Max Width object properties must be set in the Function Entry logic only.

Click here to view an example screenshot.

Resizing Rules

The following information and diagrams outline the rules involved in Dynamic Resizing:

The diagram provides a schematic overview of the principles of Dynamic Resizing. The screen is resized by dragging the bottom right corner of the screen down and to the right. The increase in size in each axis is indicated by the single headed arrows. Before and after the resize operation, the distances indicated by the double headed arrows will be the same so long as the maximum sizes have not been reached. After the resize operation, the size of the resizeable object will have increased in each axis by the same amount as the increase in the screen size axes respectively.

Dynamic Resizing Algorithm

The following diagram explains the Dynamic Resizing algorithm using Application and Object Type properties for a Box or Line as an example:

Resizing Algorithm

Note: The various Internet browsers' zoom and text size functionality has no effect on Dynamic Resizing.

 

Section links:

Dynamic Resizing Demo contains a demo which shows how to create a Box Object Type and enable Dynamic Resizing for it in PROIV Developer, and then demonstrates the resizing of the box when the browser is resized.

Dynamic Resizing Debug Mode Overview outlines the Dynamic Resizing Debug Mode.

Paging Area Resizing Overview contains an overview of setting up Dynamic Resizing for Paging Areas.

List Box Dynamic Resizing Overview contains an overview of setting up Dynamic Resizing for List Boxes.

ActiveX Control Dynamic Resizing Overview contains an overview of setting up Dynamic Resizing for ActiveX controls.

Box and Line Dynamic Resizing Overview contains an overview of setting up Dynamic Resizing for Boxes and Lines.

Pop-Up Window Resizing Overview contains an overview of setting up Dynamic Resizing for Pop-Up Windows.

 

Comment on this topic

Topic ID: 800087