AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
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.
Versión mínima requerida
  • Versión 18
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 07/11/2022

Señalar un error o enviar una sugerencia | Ayuda local