Picture Attribute
Data Type: Picture
4GL Access: R
Some ActiveX controls have an attribute of type Picture, which is one of the OLE standard types. The Picture attribute of a BitmapObject lets you link an OpenROAD BitmapObject to an ActiveX control attribute of type Picture.
Suppose that grid is an ActiveX control with a BgBitmap attribute of type Picture. The following code shows how to assign a BitmapObject to the grid control's BgBitmap attribute:
declare
bmp = BitmapObject;
enddeclare
{
bmp.FileHandle = 'c:\bitmaps\ivy.bmp';
grid.bgbitmap = bmp.Picture;
}
Last modified date: 06/25/2024