ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The WithZoom property is used to specify and to determine whether the user can zoom in and out:
  • in an HTML Display control in Android, iPhone or iPad applications.
  • in a Map control in Android, iPhone or iPad applications.
Example
// Disable zoom on the HTM_NavigationPCS control
HTM_NavigationPCS.WithZoom = False
AndroidiPhone/iPad
// Disable zoom on the MAP_MyMap control
MAP_MyMap.WithZoom = False
Syntax

Determining whether an HTML or Map control allows zooming Hide the details

<Result> = <Control used>.WithZoom
<Result>: Boolean
  • True if the control allows zooming,
  • False otherwise.
<Control used>: Control name
Name of the control to be used:
  • HTML Display control.
  • Map control.

Enabling or disabling zoom in an HTML or Map control Hide the details

<Control used>.WithZoom = <Zoom>
<Control used>: Control name
Name of the control to be used:
  • HTML Display control.
  • Map control.
<Zoom>: Boolean
  • True if the control should allow zooming,
  • False otherwise.
Remarks
  • If zooming is allowed, the user will be able to zoom in and out with pinch gestures.
  • Android If zooming is allowed, two zoom buttons will also be available.
  • iPhone/iPad In an iPhone/iPad application, you must refresh (or change) the page displayed by the HTML Display control to enable or disable the zoom.
  • The property has no effect in simulator mode.
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 11/07/2022

Send a report | Local help