GeneratePicture Subroutine

Creates a new Picture.

Syntax

GeneratePicture (aPicInfo)

Properties

The GeneratePicture subroutine syntax has this part:

Part

Description

aPicInfo

The PictureInfo structure specifies the properties of the picture to be generated.

The members of the PictureInfo structure are as follows:

Member

Description

lfTopPct

The preferred top window edge location of the picture being generated. The location Unit, pixel or percent, is determined by bPixels. Type is Double.

lfLeftPct

The preferred left window edge location of the picture being generated. The location Unit, pixel or percent, is determined by bPixels. Type is Double.

lfHeightPct

The preferred window height of the picture being generated. The dimension Unit, pixel or percent, is determined by bPixels. Type is Double.

lfWidthPct

The preferred window width of the picture being generated. The dimension Unit, pixel or percent, is determined by bPixels. Type is Double.

lBkColor

Color for background color of the picture. Type is Long.

szName

The name of the picture. Type is String.

bPixels

Determines whether the window location units are pixel or percent. Type is Boolean.

bTitlebar

Defines whether or not the picture window has a title bar. Type is Boolean.

bSystemMenu

Defines whether or not the picture window has a system menu. Type is Boolean.

bResizable

Defines whether or not the picture window is resizable. Type is Boolean.

bAlwaysOnTop

Defines whether or not the picture window is always on top of other picture windows. Type is Boolean.

bRuntimeVisible

Defines whether or not the picture is visible at run time. Type is Boolean.

 

Example