PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview of the Item control
  • Report control
  • How to link an Item control to an item?
  • Notes
  • RTF Item control: Changing an "Item" control into an "RTF" control
  • Special "Item" control: "Currency + Euro"
  • Item control and UNICODE character string
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
Warning
From version 22, the Item control is not available anymore. It is replaced by the Static control for which it is now possible to define a link.
Overview of the Item control

Report 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.
Versions 18 and later
iPhone/iPad This type of control is now available for the reports in the iPhone/iPad applications.
New in version 18
iPhone/iPad This type of control is now available for the reports in the iPhone/iPad applications.
iPhone/iPad This type of control is now available for the reports in the iPhone/iPad applications.
To create an "Item" control:
  1. In the report editor:
    • click .
    • select "Insert .. New control .. Item".
    On the "Creation" pane, in the "Usual controls" group, click "Item".
  2. Click the position where the control will be created in the report.
How to 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: Changing an "Item" control into an "RTF" control

To display text in RTF format in an "Item" control:
  1. Display the description window of control ("Description" from the popup menu of 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"

For a "Currency + Euro" Item control, you have the ability to manage:
  • the stored currency: currency of data found in the data source of 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

Versions 15 and later
The "UNICODE string" HFSQL items are automatically displayed in the Item controls of reports. No operation is required to perform the display.
New in version 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.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment