Progress
ADM 2 Reference


loadImage (treeview.p)

Returns the index of some image file in the ImageList, first loading it if necessary. If the load fails, the function returns 0 (zero).

Parameters:

INPUT pcImageFile AS CHARACTER

The file of interest

Returns: INTEGER PRIVATE

Notes: The filename must specify the relative path and filename with the extension. Since the imagelist does not contain any images, the ImageList property is assigned to the Treeview only once, after an image is added.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095