Table of Contents

SCALED event

Description

OpenInsight 10 and above now has the capability to dynamically alter the scale of a form at runtime, taking care of layout, fonts and images. However, there may be circumstances where this is not sufficient - perhaps you need to alter the layout yourself, or perhaps you need to display a specific image rather than rely on a DPI Image list. In this case you will need to know when the scaling operation has taken place, and you can handle this in the new SCALED event.

Syntax

bforward = SCALED( ctrlentID, ctrlclassID, origDpiX, origDpiY, origScaleFactor, newDpiX, newDpiY, newScaleFactor )

Parameters

The event is passed the following event-specific arguments:

ParameterDescription
origDpiXThe original X DPI value
origDpiYThe original Y DPI value
origScaleFactorThe original SCALEFACTOR value
newDpiXThe new X DPI value
newDpiYThe new Y DPI value
newScaleFactorThe new SCALEFACTOR value

Remarks

The system performs no default processing for this event.