User Tools

Site Tools


ocxloadimage_return_an_image_object_.htm
Navigation:  Language Reference > App A - DDE, OLE, and OCX > OCX Library Procedures >====== OCXLOADIMAGE (return an image object) ====== Previous pageReturn to chapter overviewNext page

OCXLOADIMAGE( name )

blk2blue.jpg

OCXLOADIMAGE Returns an image object.
name A string expression containing the name of the file or resource to load.

OCXLOADIMAGE returns an image object. This image object can be assigned to any control that uses an image object (such as a VB imagelist control).

Return Data Type:     STRING

Example:

!Add an image to an ImageList control:

?imagelist{'ListImages.Add(,,' & OCXLOADIMAGE('CLOCK.BMP') & ')'}

ocxloadimage_return_an_image_object_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)