|
|
|
|
|
- Overview of the HTML Display control
- Creating an HTML Display control
- Characteristics of HTML Display controls
- Options of the "General" tab
- Options of the "Details" tab, "HTML/JavaScript"
- Options of the "Details" tab, "IE/Edge ActiveX (compatibility)"
- "Enable zoom" ("UI" tab in the control description window)
Overview of the HTML Display control The HTML Display control displays a web page in an application. Thus, in one line of code, without using an external browser, your WINDEV and WINDEV Mobile applications can display a page from a website. This control is based on Chromium Embedded Framework (CEF). Creating an HTML Display control To create an HTML Display control: - On the "Creation" tab, in the "Other controls" group, expand "HTML" and select "HTML Display".
- Click at the desired location to create the control. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu. Characteristics of HTML Display controls Options of the "General" tab The "General" tab of the control description window allows you to directly enter HTML code or the address of the HTML page to be displayed. Remark: Any HTML code entered must be between the <HTML> and </HTML> tags. Options of the "Details" tab, "HTML/JavaScript" The "Details" tab of the control description window includes the following options in "HTML/JavaScript": - Don't allow the execution of JavaScript scripts:
This option allows or prevents the execution of scripts called from the HTML code of the control. This option is ignored: the execution of scripts is always allowed. If this option is unchecked, you can: - Allow popups:
With this option, you can enable JavaScript popups (for example, allow opening JavaScript menus as popups).
Options of the "Details" tab, "IE/Edge ActiveX (compatibility)" The "Details" tab of the control description window includes the Use IE/Edge ActiveX to display content (compatibility) option in IE/Edge ActiveX (compatibility). This option allows you to use the HTML Display control via the Internet Explorer ActiveX plug-in (and no longer Chromium CEF). You can then select the desired rendering engine. Caution: To use an HTML Display control in "IE/Edge ActiveX (compatibility)" mode: - in a WINDEV application, Internet Explorer 4 or later (version 11 recommended) must be installed on the development computer and on the deployment computer. WINDEV's HTML Display control is in Internet Explorer 7 mode.
To display WEBDEV pages in this control, they must be generated in HTML + Edge mode. - in an application in simulator mode, Internet Explorer 4 or later (version 11 recommended) must be installed on the development computer.
- in an iOS 9.0 application (and later), you must respect the security options. By default, the HTML Display control can only access sites that use an HTTPS connection in compliance with Apple's guidelines. To access other sites (HTTP for example), you must either provide the list of corresponding domains, or disable the security options for all domains. These operations are performed in the iOS application creation wizard. For more details, see Generating an iOS application.
Related Examples:
|
Complete examples (WINDEV): WD Simple Internet Browser
[ + ] This example presents the features of WINDEV's HTML control and includes a simplified web browser with browsing history, favorites, etc.
|
|
Complete examples (WINDEV): WD Mail
[ + ] This application is an email client developed in WINDEV. It is based on the Email objects. This email client is used to retrieve and send emails by using the POP, IMAP and SMTP protocols. You have the ability to apply filters to the incoming emails. The application can also be used to manage several email accounts. The writing of an email is based on the HTML edit control.
|
|
Unit examples (WINDEV): HTML types (HTMLDocument, HTMLNode, HTMLAttribute)
[ + ] This example shows how to use the HTMLXxx WLanguage types (HTMLDocument, HTMLNode, HTMLAttribute)
|
|
Unit examples (WINDEV): The HTML control
[ + ] Using an HTML control
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|