ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

  • Overview
  • Control in a window, report, or static or dynamic page
  • Creating an HTML control
  • Creating an HTML control in a report
  • Control in a report: Characteristics
  • Description window and programming
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
Overview

Control in a window, report, or static or dynamic page

The HTML control can be used:
  • Universal Windows 10 AppAndroidiPhone/iPad In a window.
    The HTML control of a window is used to display an HTML page.
    This control corresponds to the HTML Display control.
  • Universal Windows 10 AppAndroidiPhone/iPad In a report.
    The HTML control of a report is used to print an HTML code or the content of a local page.
This help page presents only the HTML control in pages or reports. For windows, please see the page about the HTML Display control.
Creating an HTML control
Universal Windows 10 AppAndroidiPhone/iPad

Creating an HTML control in a report

To create an HTML control in a report:
  1. On the "Creation" tab, in the "Text" group, click "HTML".
  2. Click where the control will be created in the report. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu.
Remark: From version 22, the HTML control in a report corresponds to an HTML Static control.
Universal Windows 10 AppAndroidiPhone/iPad
Control in a report: Characteristics

Description window and programming

The HTML control is an HTML Static control. You can enter text directly in the "General" tab of the control description window.. This text will be automatically converted to HTML.
The HTML control is used to display:
  • the content of a local HTML file.
  • the HTML content of an item.
To initialize the HTML control by programming, it can be assigned with:
  • an HTML code directly. For example:
    HTM_Code = "'''Hello'''"
  • the path of a local HTML file.
    HTM_Code = fExeDir() + "\MyHTMLFile.htm"
Remarks:
  • PNG and SVG images in the HTML content are not supported.
  • If the CSS style sheet corresponds to an external file, it is ignored.
  • All the external files that must be found on Internet are ignored.
  • JavaScript codes are not run.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment