BBjWindow::addImage
In BBj 6.00 and higher, this method is deprecated; use BBjWindow::addImageCtrl.
Description
This method creates an image in the BBjWindow.
Syntax
Return Value | Method |
---|---|
BBjImageCtrl | addImage(int ID, number x, number y, number w, number h, string filename) |
Parameters
Parameter | 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. |
w | Width of the control in current units. |
h | 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
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.