PC SOFT

WINDEV的在线文档

  • Overview
  • Control in a window, control in a report or control in a static or dynamic page
  • Creating an HTML control
  • Notes
  • Window control
  • Report control
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Overview

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

18版本和更高版本
WinDevWindows Store apps The HTML controls are now available for the applications in Windows Store apps mode.
18新版本
WinDevWindows Store apps The HTML controls are now available for the applications in Windows Store apps mode.
WinDevWindows Store apps The HTML controls are now available for the applications in Windows Store apps mode.

The HTML control can be used:
  • WinDevWindows Store apps In a window. The HTML control of a window is used to display an HTML page.
  • 18版本和更高版本
    WinDevWindows In a report. The HTML control of a report is used to print an HTML code or the content of a local page.
    18新版本
    WinDevWindows In a report. The HTML control of a report is used to print an HTML code or the content of a local page.
    WinDevWindows In a report. The HTML control of a report is used to print an HTML code or the content of a local page.

Creating an HTML control
To create an HTML control:
  1. In the window editor or in the page editor, click(or select "Insert .. Control .. HTML control").
  2. Click the position where the control must be created in the window or in the page. The control appears in creation mode.
To display the characteristics of the control, select "Description" from the popup menu of the control.
WinDev To create an HTML control in a window:
  1. On the "创建" pane, in the "其他控件" group, click "HTML".
  2. Click the position where the control must be created in the window. The control appears in creation mode.
To display the characteristics of the control, select "Description" from the popup menu of the control.

18版本和更高版本
WinDevWindows To create an HTML control in a report:
  1. On the "创建" pane, in the "常用控件" group, click "HTML".
  2. Click the position where the control must be created in the report. The control appears in creation mode.
To display the characteristics of the control, select "Description" from the popup menu of the control.
18新版本
WinDevWindows To create an HTML control in a report:
  1. On the "创建" pane, in the "常用控件" group, click "HTML".
  2. Click the position where the control must be created in the report. The control appears in creation mode.
To display the characteristics of the control, select "Description" from the popup menu of the control.
WinDevWindows To create an HTML control in a report:
  1. On the "创建" pane, in the "常用控件" group, click "HTML".
  2. Click the position where the control must be created in the report. The control appears in creation mode.
To display the characteristics of the control, select "Description" from the popup menu of the control.

Notes
WinDevWindows Store apps

Window control

In the description window of the control, you can:
  • enter an HTML code in the "General" tab of the control. This code must necessarily be found between the <HTML> and </HTML> tags.
  • enter the address of the HTML page to display.
Caution: To use an HTML control:
  • WinDev in a WinDev application, Internet Explorer version 4 or later (version 5 recommended) must be installed on the development computer and on the deployment computer.

Notes:
  • Windows Store apps No control can be positioned above the HTML control. At run time, Windows always positions the HTML control above the other controls.

18版本和更高版本
WinDevWindows

Report control

In the description window of the control, you have the ability to type a text in the "General" tab of the control. 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"<b>Hello</b>"
  • the path of a local HTML file.
    HTM_Code文件可执行文件目录()+"\MyHTMLFile.htm"

Notes:

  • The images in PNG and SVG format found in the HTML 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.
  • The Javascript codes are not run.
18新版本
WinDevWindows

Report control

In the description window of the control, you have the ability to type a text in the "General" tab of the control. 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"<b>Hello</b>"
  • the path of a local HTML file.
    HTM_Code文件可执行文件目录()+"\MyHTMLFile.htm"

Notes:

  • The images in PNG and SVG format found in the HTML 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.
  • The Javascript codes are not run.
WinDevWindows

Report control

In the description window of the control, you have the ability to type a text in the "General" tab of the control. 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"<b>Hello</b>"
  • the path of a local HTML file.
    HTM_Code文件可执行文件目录()+"\MyHTMLFile.htm"

Notes:

  • The images in PNG and SVG format found in the HTML 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.
  • The Javascript codes are not run.