ocxloadimage_return_an_image_object_.htm
| Navigation: Language Reference > App A - DDE, OLE, and OCX > OCX Library Procedures >====== OCXLOADIMAGE (return an image object) ====== | ![]() ![]() |
OCXLOADIMAGE( name )
| 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: by 127.0.0.1




