- Robert Sawyer
- PowerBuilder
- Thursday, 6 June 2024 12:29 PM UTC
I want to have a datawindow that contains a different image for each row. I created a picture object and put it in the detail band. I also added a regular string column 'pic_object' (external datawindow).
What I want is something like this:
Row 1 dog.png
Row 2 cat.png
row 3 mouse.png
If I do this: dw_1.Object.p_1.Filename = 'C:\dog.png' it works but sets the picture image for all rows.
I then tried adding a compute column that has this as the expression bitmap( pic_object ). So I insert row one and set pic_object to 'C:\dog.png' thinking pic_object might display my picture but it doesn't work.
Any help is appreciated.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.