ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The ListViewMode property is used to:
  • Find out the display mode of a ListView control.
  • Modify the display mode of a ListView control.
Note The display mode of a List Box control can also be changed in the editor, in the field description window ("Detail" tab).
Reminder A List Box control can be displayed:
  • in classic mode: the field is displayed without images.
  • in image list mode: the field is displayed with the images.
  • in panorama mode: the field is displayed with the images as if they were on a curved wall. Only 20 images maximum can be displayed in this mode.
Example
// Passage en mode classique
LSI_ListeImage1.ModeListeImage = lvmSimpleList

Find out the display mode of a ListView control Hide the details

<Result> = <ListView control>.ListViewMode
<Result>: Integer constant
Display mode of ListView control:
lvmListViewListView control displayed in ListView mode.
lvmPanoramaListView control displayed in panorama mode.
lvmSimpleListListView control displayed in standard mode.
<ListView control>: Control name
Name of ListView control to use.

Modifying the display mode of a ListView control Hide the details

<ListView control>.ListViewMode = <New display mode>
<ListView control>: Control name
Name of ListView control to use.
<New display mode>: Integer constant
Display mode of ListView control:
lvmListViewListView control displayed in ListView mode.
lvmPanoramaListView control displayed in panorama mode.
lvmSimpleListListView control displayed in standard mode.
Remarks
The ListViewMode property can only be used on ListView controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help