AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
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
The ListViewMode property is used to:
  • Find out the display mode of a ListView control.
  • Modify the display mode of a ListView control.
Remark: The display mode of a ListView control can also be modified in the editor, in the control description window ("Details" tab).
Reminder: A ListView control can be displayed:
  • in standard mode: the control is displayed without images.
  • in ListView mode: the control is displayed with images.
  • in panorama mode: the control 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

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

<Result> = <ListView control>.ListViewMode
<Result>: Integer constant
ListView control display mode:
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
ListView control display mode:
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.
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 08/03/2024

Señalar un error o enviar una sugerencia | Ayuda local