LOADPICTURE( ) Function

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

LOADPICTURE([cFileName])

Parameters

  • 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.

Return Value

Object

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.

See Also

Reference

GETPICT( ) Function

SAVEPICTURE( ) Function

Picture Property (Visual FoxPro)

Other Resources

Functions