Language Reference Guide : 4. System Classes : FormField Class : BgPattern Attribute
 
Share this page                  
BgPattern Attribute
Data Type: integer
4GL Access: RW
The BgPattern attribute specifies the field's background pattern.
Valid values are:
FP_DEFAULT
FP_SOLID
FP_CLEAR (see Note 1)
FP_HORIZONTAL
FP_VERTICAL
FP_CROSSHATCH
FP_SHADE
FP_LIGHTSHADE
FP_DARKSHADE
FP_BITMAP (see Note 2)
FP_BITMAPCLEAR (see Note 1)
Descriptions of system constant values and their numeric equivalents are listed in Pattern Settings.
Note:  If you set this attribute to FP_BITMAP, you must also set the BgBitmap attribute to a valid BitmapObject image (see BgBitmap Attribute). If the file is a transparent bitmap, set this attribute to FP_BITMAPCLEAR.