4. System Classes : FormField Class : BgDisplayPolicy Attribute
 
Share this page                  
BgDisplayPolicy Attribute
Data Type: integer
4GL Access: RW
The BgDisplayPolicy attribute controls the positioning and display of form field background images. All form field types can have backgrounds either anchored to their own top left corner (fixed), or anchored relative to the closest parent field whose background is fixed. Parent field settings are evaluated regardless of whether they have a background image themselves. If neither the field nor its parents have a fixed setting, the image is anchored relative to the TopForm top left corner.
Valid values are:
BDP_DEFAULT
BDP_FIXED
BDP_RELATIVE
Descriptions of system constant values and their numeric equivalents are listed in BgDisplayPolicy Settings (see BgDisplayPolicy Settings).
For all settings, if the image size is smaller than the field size, the image is repeated to fill the background.