Topics List
Design Elements

WebView
Embedded Web Content: The WebView Control

The WebView control allows you to embed web content (HTML pages, web apps, or online resources) directly within your app´s interface. It enables you to display web pages without leaving the app, providing a seamless user experience. The WebView control is commonly used for various purposes, such as displaying help documentation, showing web-based forms, or integrating web-based tools and services into your app. It allows you to leverage the power of the web while maintaining the look and feel of your native app.



You can download the project from the following link:

Class_Rar_0__39.rar

You can observe the project in motion here:



WebView´s Properties


During design mode, you can assign the following properties and events to a WebView:



  • name: The name of the WebView control.

  • Position and Size

    • x: The x-coordinate of the WebView control.

    • y: The y-coordinate of the WebView control.

    • const_anchorX: The anchor point on the x-axis.

    • const_anchorY: The anchor point on the y-axis.

    • width: The width of the WebView control.

    • height: The height of the WebView control.

    • toBack: Set to true to move the WebView control to the back.

    • toFront: Set to true to move the WebView control to the front.

    • isVisible: Set to true to make the WebView control visible.

  • Content

    • url_or_local_html: The URL or local HTML file to display in the WebView control.

  • Functions

    • urlRequest: The function to execute when a URL request is made in the WebView control.