PC SOFT

WINDEV的在线文档

  • Overview of the Item control
  • How do I link an Item control to an item?
  • Notes
  • RTF Item control: Transforming an "Item" control into an "RTF" control
  • Special "Item" control: "Currency + Euro"
  • Item control and UNICODE character string
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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 of the Item control
The "Item" control is used to edit the content of an item found in a data file. The item can be an item found in the base file of the report or in a file accessible by a link. This control can also be assigned by programming.

To create an "Item" control:
  1. In the report editor:
    • click the icon.
    • select "Insert .. New control .. Item".
    On the "创建" pane, in the "常用控件" group, click "字段".
  2. Click the position where the control must be created in the report.

How do I link an Item control to an item?
To define the item linked to the "Item" control:
  1. Display the "General" tab in the description window of the control ("Description" from the popup menu of the control).
  2. To link the control to an item that belongs to the data source of the report, select this item in the "Linked item" combo box.
  3. To link the control to an item that does not belong to the data source of the report, click the "Other" button and select the item linked to the current control.

Notes

RTF Item control: Transforming an "Item" control into an "RTF" control

To display text in RTF format in an "Item" control:
  1. Display the description window of the control ("Description" from the popup menu of the control).
  2. In the "Details" tab, check "RTF format".
  3. Validate the description window.

The "Item" control becomes an "RTF" control. All the characteristics of the "Item" control are kept.

Special "Item" control: "Currency + Euro"

If the type of the "Item" control is "Currency + Euro", you have the ability to manage:
  • the stored currency: currency of the data found in the data source of the report. If the control is handled by programming, the corresponding currency will be the stored currency.
  • the displayed currency: currency used to display/print the value in the report. This currency can differ from the stored currency. The conversion is automatically performed.
  • the dual display: two "Currency + Euro" controls can be linked. The value displayed in the base control is automatically converted in the tracker control.
This type of control can also be used in a window. See The "Euro + Currency" type for more details.

Item control and UNICODE character string

15版本和更高版本
The "UNICODE string" HFSQL items are automatically displayed in the Item controls of reports. No operation is required to perform the display.
15新版本
The "UNICODE string" HFSQL items are automatically displayed in the Item controls of reports. No operation is required to perform the display.
The "UNICODE string" HFSQL items are automatically displayed in the Item controls of reports. No operation is required to perform the display.