ActiveX Control 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 . This applies to PROIV applications deployed using Open Client technology. There are numerous objects that can be resized, including ActiveX controls.  

Note: User-defined ActiveX controls will not resize automatically without being modified to support Dynamic Resizing. If you need assistance in modifying your ActiveX Controls to support a resize event, please contact your local PROIV Support representative.

It is also important to note that in Open Client, ActiveX controls are implemented in Javascript, and are therefore quite different to the ActiveX controls used in the PROIV MFC Client.

Enable Resizing

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 ActiveX control Property Sheet.

Enable Resizing

Application Property

The Application property turns on autoresizing for all of ActiveX controls.

Object Type Property

To enable the resizing of an individual ActiveX control, set the maximum height and width (Open Client Only) values on the Properties tab to be more than the Height and Width field values on the Definition tab on the ActiveX Control Property Sheet.

For example, to enable Dynamic Resizing, enter values in the highlighted yellow fields greater than those in the highlighted red fields:

 

Disable Resizing

To disable resizing for an individual ActiveX control, set the maximum height and width values to match the Height and Width values on the Definition tab on the ActiveX Control Property Sheet.  If the maximum height and width values are not set or set to zero, then the Application property is used to determine the resizing behaviour.

Comment on this topic

Topic ID: 800084