V104-BITMAPS

Provided for backward compatibility, this variable enables you to set the handling of bitmap images to use the old method, which is functionality available in ACUCOBOL-GT versions earlier than 10.5.0.

Attention: Starting with ACUCOBOL-GT version 10.5.0, no bug fixes or enhancements will be provided for issues that arise from using the old method of bitmap processing.

Syntax

V104_BITMAPS [[{BUTTON|BUTTONS|1}] [{CONTROL|CONTROLS|2}]
   [{IMAGELIST|IMAGELISTS|4}][{DISPLAY|8}] [{PRINT|16}] 
   [numerical-combination]

Parameters

None
When you set V104_BITMAPS with no parameters, this sets the runtime to use a method indicated by the object file as follows:
  • If the object file could be run with a runtime earlier than ACUCUBOL-GT version 10.5.0, the old method of handling bitmap images is used.
  • If the object file has been compiled using ACUCOBOL-GT version 10.5.0 or later, the new method of handing bitmap images is used.
    Note: To compile the object file to use the old method, specify the -Zn compiler option. See Miscellaneous Options for details.
BUTTON | BUTTONS | 1
Sets the runtime to use the old method of drawing bitmap buttons.
CONTROL | CONTROLS | 2
Sets the runtime to use the old method of drawing bitmap controls.
IMAGELIST | IMAGELISTS | 4
Sets the runtime to use the old method of creating imagelist types for all regular uses such as the titles of TAB controls, and in TREEVIEW controls.
DISPLAY | 8
Sets the runtime to use the old method of displaying bitmaps when calling W$BITMAP using WBITMAP-DISPLAY.
PRINT | 16
Sets the runtime to use the old method of printing bitmaps when calling WIN$PRINTER.
numerical-combination
A number that represents a combination of two or more parameters. To determine which number to use, combine the numerical values of the parameters you want to set. For example, if you want to set IMAGELIST and CONTROL, you can simply set V104_BITMAPS to 6, which represents 4 (IMAGELIST) + 2 (CONTROL).

Examples

V104-BITMAPS BUTTON CONTROL

and

V104-BITMAPS 3

Both set the runtime to use the new method for IMAGELISTS, DISPLAY, and PRINT, but use the old method for bitmap BUTTONs and bitmap CONTROLs.