PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..ListViewMode 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 ListView control can also be modified in the editor, in the description window of control ("Details" tab).
Reminder: A ListView control can be displayed:
  • in standard mode: the list is displayed without images.
  • in listview mode: the list is displayed with the images.
  • Versions 16 and later
    in panorama mode: the list is displayed with the images as if they were presented on a curved wall. Only 20 images maximum can be displayed in this mode.
    New in version 16
    in panorama mode: the list is displayed with the images as if they were presented on a curved wall. Only 20 images maximum can be displayed in this mode.
    in panorama mode: the list is displayed with the images as if they were presented on a curved wall. Only 20 images maximum can be displayed in this mode.
Example
// Switch to standard mode
LSV_ListView1..ListViewMode = lvmSimpleList
// In version 15 and earlier
LSV_ListView1..ListViewMode = False
Syntax

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

<Result> = <ListView Name>..ListViewMode
<Result>: Boolean
  • True if the listview is displayed in "ListView" mode,
  • False if the listview is displayed in "List Box" mode.
<ListView Name>: Character string (with or without quotes)
Name of ListView control to use.

Modifying the display mode of a ListView control Hide the details

<ListView Name>..ListViewMode = <New Display Mode>
<ListView Name>: Character string (with or without quotes)
Name of ListView control to use.
<New Display Mode>: Boolean
  • True to display the listview in "ListView" mode,
  • False to display the listview in "List Box" mode.

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

<Result> = <ListView Name>..ListViewMode
<Result>: Integer constant
Display mode of ListView control:
lvmListViewListView displayed in listview mode.
lvmSimpleListListView displayed in list box mode.
lvmPanoramaListView displayed in panorama mode.
<ListView Name>: Character string (with or without quotes)
Name of ListView control to use.

Modifying the display mode of a ListView control Hide the details

<ListView Name>..ListViewMode = <New Display Mode>
<ListView Name>: Character string (with or without quotes)
Name of ListView control to use.
<New Display Mode>: Integer constant
Display mode of ListView control:
lvmListViewListView displayed in listview mode.
lvmSimpleListListView displayed in list box mode.
lvmPanoramaListView displayed in panorama mode.
Remarks
..ListViewMode can be used on the ListView controls only.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment