ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Item control
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Warning
From version 22, the Item control is not available anymore. It is replaced with 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 in the base data file of the report or of a data file accessible by a link. This control can also be assigned by programming.
To create an "Item" control:
  1. 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. Open the control description window ("Description" in the context 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 bound. 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. For more details on this control, see The "Euro + Currency" type.

Item control and UNICODE character string

The "UNICODE string" HFSQL items are automatically displayed in the Item controls of reports. No operation is required to perform the display.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help