LOADPICTURE( ) Function

See Also

Creates an object reference for a bitmap, icon, or Windows meta file.

Syntax

LOADPICTURE([cFileName])

Returns

Object

Arguments

cFileName

Specifies the bitmap (.bmp), icon (.ico), or Windows metafile (.wmf) file for which an object reference is created. If cFileName is omitted, the null picture is returned. You can include GETPICT( ) as cFileName to display the Open dialog from which you can choose a bitmap (.bmp) file.

Remarks

Many presentation properties of ActiveX controls require an object reference for their settings. For example, the ActiveX Outline control supports the PictureOpen property that requires an object reference for its setting.