skip to main content

Controls Reference : BITMAP : Properties : Bitmap-Handle

Bitmap-Handle
This property identifies the bitmap handle to be used. To obtain a bitmap handle use the W$BITMAP library routine with the WBITMAP-LOAD op-code.
If this property points to an animated GIF, then the Bitmap control renders the animation.
Example - Define a bitmap control with a handle that is set in procedure division
working-storage section.
77 jlogo-jpg pic s9(9comp-4.
screen section.
  03 screen-1-bi-1 Bitmap
     line 10.0
     column 48.0
     size 130 pixels 
     lines 150 pixels 
     bitmap-scale 1
     bitmap-handle jlogo-jpg
     bitmap-number 1
procedure division.
   call "w$bitmap" 
        using  wbitmap-load "jlogo.jpg" 
        giving jlogo-jpg.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left