The column that contains the background image for an InkPicture control in a DataWindow.
InkPicture controls
PowerBuilder dot notation:
dw_control.Object.inkpicname.BackImage
Describe and Modify argument:
"inkpicname.BackImage{ = colname }"
Parameter |
Description |
---|---|
inkpicname |
The graph whose background color you want to get or set. |
colname |
A string value specifying the name of the long binary column that contains the background image for the control. |
Select the InkPicture control and set the value in the Properties view, Definition tab, Col for Image property. The image format can be JPEG, GIF, BMP, or ICO. If you change the image, call the Retrieve method to force the DataWindow to retrieve the new image.
sval = dw1.Object.inkpic_1.backimage dw1.Object.inkpic_1.backimage = 'InkImg'