|
|
|
|
|
ListProcedureLoadImage (Function) In french: ListeProcédureChargeImage Specifies the procedure to be called when displaying a row in a ListView control. This makes it possible to display an image dynamically, rather than loading an image from disk. Note: This function must be called in the "Display a row" event of a ListView control. 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
ListProcedureLoadImage(<ListView control> , <Loading procedure>)
<ListView control>: Control name Name of ListView control to use. <Loading procedure>: Procedure name Name of the procedure that loads the images in the ListView control. This procedure returns the image to be loaded on each row of the ListView control. For more details on this procedure, see Parameters of the procedure used by ListProcedureLoadImage. Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|