[Migrated content. Thread originally posted on 26 October 2009]
Hello,I looked up for some tips here in the forums, but i see no one have posted something about this new feature in v8. That make me think that or all is working as intended and no one have problems or maybe no one use it :confused:. But, i have some problems with it:
1 - The scaled property doen't show in the acubench gui, and i tried to put it on "aditional properties" but nothing happens (in the help, i see that must be defined this property before bitmap-handle, maybe that's the tip)
2 - I try to set up on run time, not design time, but nothing:
ACCEPT ACU-BITMAPPATH FROM ENVIRONMENT "Bitmap-Path"
ON EXCEPTION
MOVE "dibujo.bmp" TO ACU-FULLBITMAPPATH
NOT ON EXCEPTION
INITIALIZE ACU-FULLBITMAPPATH
INSPECT ACU-BITMAPPATH REPLACING TRAILING SPACE BY "\\"
INSPECT ACU-BITMAPPATH REPLACING TRAILING "\\" BY LOW-VALUE
STRING ACU-BITMAPPATH DELIMITED BY LOW-VALUE
"\\" DELIMITED BY SIZE
"dibujo.bmp" DELIMITED BY LOW-VALUE
INTO ACU-FULLBITMAPPATH
END-ACCEPT
CALL "W$BITMAP" USING WBITMAP-LOAD ACU-FULLBITMAPPATH,
GIVING apertura-bmp
END-CALL
display bitmap
bitmap-scale 1,
BITMAP-HANDLE apertura-bmp,
size 120 pixels,
lines 80 pixels,
col 30,
line 20,
handle in bt-1
If i comment the bitmap-scale 1 sentence, the image shows. It's a 24 bits color bitmap, like the help says.
Actually i have no point. Any ideas?
Thanks afterwards



