Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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: ^Parameter^Description^ |origDpiX|The original X DPI value| |origDpiY|The original Y DPI value| |origScaleFactor|The original SCALEFACTOR value| |newDpiX|The new X DPI value| |newDpiY|The new Y DPI value| |newScaleFactor|The new SCALEFACTOR value| ==== Remarks ==== The system performs no default processing for this event. guides/programming/programmers_reference_manual/scaled_event.txt Last modified: 2024/06/19 20:20by 127.0.0.1