Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Overview
  • Programming
  • Programming the zoom
  • Disabling the zoom
  • Cancel the zoom
  • Modifying the caption of option used to cancel the zoom (by programming)
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
To simplify the reading of windows, the end user can zoom the content of a window with the mouse.
Zoom of a window
To zoom in or out in a window, the user must use the Ctrl key and the mouse wheel.
To restore the initial display, simply select "Cancel the zoom" from the popup menu of window (or press Ctrl + 0).
Remark: Scrollbars may appear during the zoom if necessary.

Programming the zoom

To program the zoom that will be applied to the window, use Zoom on the window.
For example:
// Zoom in 150%
WIN_Customer..Zoom = 150
If the zoom is performed by programming, the popup menu of the window allows you to cancel the zoom.

Disabling the zoom

To prohibit zooming on a window, use the AAFDisable function with the aafZoomconstant.

Cancel the zoom

To cancel the zoom on a window (and return to the initial report), simply use the AAFExecute function with the constant aafZoom.

Modifying the caption of option used to cancel the zoom (by programming)

To cancel the zoom, the end user can display the popup menu of the window (right mouse click) and select "Cancel the zoom".
To change the wording of this option, simply use the function AAFChangeCaption with the constant aafZoom.
Minimum version required
  • Version 21
Click [Add] to post a comment