ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV 2025 feature!
Help / WLanguage / WLanguage functions / Controls, pages and windows / List Box functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Parameters of the procedure used by ListProcedureLoadImage
WLanguage procedure ("callback") executed to load the images displayed in a ListView control.
Example
INTERNAL PROCEDURE LoadCustomImage(rowNum is int, width is int, height is int)
	ImageToLoad is Image
	ImageToLoad.Width = width
	ImageToLoad.Height = height
	dStartDrawing(ImageToLoad, dWithOpacity)
	dFont("Arial", 12, iNormal, 0)
	dText(4, 0, "Row " + rowNum)
	RETURN ImageToLoad
END

ListProcedureLoadImage(LSV_MyListView, LoadCustomImage)
Syntax
<Result> = ListProcedureLoadImage_Callback(<Row> , <Width> , <Height>)
<Result>: Image variable
Image variable that corresponds to the image to be added to the list.
<Row>: Integer
Number of the row used.
<Width>: Integer
Expected image width.
<Height>: Integer
Expected image height.
Component: wd300.dll
Minimum version required
  • Version 2025
Comments
Click [Add] to post a comment

Last update: 02/13/2025

Send a report | Local help