ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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 27, Miniature is kept for backward compatibility. This property is replaced by ThumbnailImage.
The ThumbnailImage property is used to:
  • Get the image associated with an element of a ListView control.
  • Change the thumbnail image associated with an element of a ListView control.
Example
WINDEVWindows
// Associate a thumbnail with the first element of the ListView control
LSV_ListView1[1].ThumbnailImage = "C:\Temp\Image1.Bmp"
Syntax

Getting the path of the image associated with an element of a ListView control Hide the details

<Result> = <ListView control>[<Element number>].ThumbnailImage
<Result>: Character string
Full path of the image used for the ListView element.
<ListView control>: Control name
Name of ListView control to use.
<Element number>: Integer or character string
Index of the element to use.

Modifying the image associated with an element of a ListView control Hide the details

<ListView control>[<Element number>].ThumbnailImage = <New image>
<ListView control>: Control name
Name of ListView control to use.
<Element number>: Integer or character string
Index of the element to be modified.
<New image>: Character string
Path of the image associated with the ListView element. This parameter can correspond to the name of an Image control containing the image to associate with the ListView element.
Remarks
The ThumbnailImage property can only be used on ListView controls.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help