
BBjWindow::addImage
In BBj 6.0 and higher, this method is deprecated; use BBjWindow::addImageCtrl.
Description
This method creates an image in the BBjWindow.
Syntax
Return Value | Method |
addImage(int ID, int x, int y, int width, int height, string filename) |
Parameters
Variable | Description |
ID | Specifies the Control ID number. It must be an integer between 1 and 32767 and be unique within a given top-level window. |
x | Horizontal position of the upper-left corner of the control in current units. |
y | Vertical position of the upper-left corner of the control in current units. |
width | Width of the control in current units. |
height | Height of the control in current units. |
filename | The filename of the image to display. |
Return Value
Returns the created BBjImage object.
Remarks
None.
Example
REM Create an image |
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.