PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Image and caption
  • Handling the ListView controls via the properties
  • Limit
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
DisplayedItemImage (Property)
In french: RubriqueAffichéeImage
The DisplayedItemImage property is used to:
  • Get the item that corresponds to the image displayed in a ListView control.
  • Change the item that corresponds to the image displayed in a ListView control.
Remark: This item can come from a data file, a view or a query.
Example
// Modify the item displayed in the "LSV_CustomerList" control
LSV_CustomerList.DisplayedItemImage = Customer.Photo
Syntax

Getting the item that corresponds to the image displayed Hide the details

<Displayed item> = <ListView control>.DisplayedItemImage
<Displayed item>: Character string
Name of item corresponding to the image displayed in the ListView control.
<ListView control>: Control name
Name of ListView control to use.

Changing the item that corresponds to the image displayed Hide the details

<ListView control>.DisplayedItemImage = <New item>
<ListView control>: Control name
Name of ListView control to use.
<New item>: Character string
Name of new item that will be used to display the image of ListView control. This item must belong to the data file browsed by the control (returned or modified by the BrowsedFile property).
Remarks

Image and caption

The DisplayedItemImage property is used to get and change only the item that corresponds to the images displayed in the control.
To get and change the item that corresponds to the captions of the elements displayed in the control, use the DisplayedItem property.

Handling the ListView controls via the properties

  • The records displayed in a browsing ListView control come from the data file or from the query specified by BrowsedFile.
  • The sort direction is defined by the BrowsedItem property.
  • The records can be filtered using the Filter property or the HFilter function.

Limit

The DisplayedItemImage property applies only to ListView controls.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment