PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview

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

The HTML control can be used:
  • WINDEVUniversal Windows 10 App In a window.
    The HTML control of a window is used to display an HTML page.
    Versions 26 and later
    This control corresponds to the HTML Display control.
    New in version 26
    This control corresponds to the HTML Display control.
    This control corresponds to the HTML Display control.
  • Versions 18 and later
    WINDEVWindowsUniversal Windows 10 App In a report.
    The HTML control of a report is used to print an HTML code or the content of a local page.
    New in version 18
    WINDEVWindowsUniversal Windows 10 App In a report.
    The HTML control of a report is used to print an HTML code or the content of a local page.
    WINDEVWindowsUniversal Windows 10 App 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
WINDEVWindowsUniversal Windows 10 App

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.
WINDEVWindowsUniversal Windows 10 App
Control in a report: Characteristics
Versions 18 and later

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.
New in version 18

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.

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