Display of Bitmnap Picture as Image in Dialog not working

Discussions related to Visual Prolog
HW
Posts: 2
Joined: 20 May 2015 11:15

Display of Bitmnap Picture as Image in Dialog not working

Unread post by HW » 30 Jan 2016 12:55

I have created a bitmap (as a ressouce in the vip environment) and try to display it as per code below.

Code: Select all

        Picture = vpi::pictGetFromRes(idb_domainvaluerangefunction),         imageControl_ctl:setImage(Picture).
The dialog however just shows a black picture. Any Idea what is wrong?

(I am using VIP CE 7.5)
Attachments
vip_environment.jpg
ressouce in the vip environment
vip_environment.jpg (8.42 KiB) Viewed 2796 times
Dialog.jpg
Dialog
Dialog.jpg (1.69 KiB) Viewed 2796 times
Holger

Post Reply