ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV 2025 feature!
This content has been translated automatically.  Click here  to view the French version.
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
LoadImageProcedureList (Function)
In french: ListProcedureLoadImage
Specifies the procedure to be called when displaying a line in a List Box control. This allows you to display a calculated image rather than one stored on disk.
Note: This function must be called in the "Line display" event of a List Box control.
Example
INTERNAL PROCEDURE LoadPersoImage(linenumber is an integer, width is an integer, height is an integer)
	ImageACharger is Image
	ImageACharger.Width = width
	ImageACharger.Height = height
	dStartDrawing(ImageACharger, dWithOpacity)
	dFont("Arial", 12, iNormal, 0)
	dText(4, 0, "Line " + numLigne)
	SEND ImageACharger
END

LoadImageProcedureList(LSI_MaListeImage, LoadImagePerso)
Syntax
LoadImageProcedureList(<ListView control> , <Filling procedure>)
<ListView control>: Control name
Name of ListView control to use.
<Filling procedure>: Procedure name
Name of the procedure that fills the images in the ListView control. For each line of the List Box control displayed, this procedure returns the image to be added to the ListView control. For more details on this procedure, see Parameters of the procedure used by LoadImageProcedureList.
Business / UI classification: UI Code
Component: wd300obj.dll
Minimum version required
  • Version 2025
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/01/2024

Send a report | Local help