LOAD_PICTURE
|
Syntax: |
LOAD_PICTURE(<Row>,<Column>,<Height
in Rows>,<Width in Columns>,<Mode>,<Delete>,<Image
Name>[,<Handle>,<Load From
Server>])
|
||||||||||||||||||
|
|
|
||||||||||||||||||
|
Meaning: |
Paints an image on the screen. LOAD_PICTURE returns the following values: 0: no error -1: window not found 7500: image not found Attention: NOREPAINT has no effect with LOAD_PICTURE in a
Html Programm. <Row> and <Column> specify the
position of the upper left corner of the image. <Height in Rows> and <Width in
Columns> specify the size in rows and columns, in which the image is to be
shown. These two parameters only have a meaning with <Mode> = 1. <Handle> specifies in which window the image
is displayed. <Handle> can contain the window depth or the handle of a
split window or a WINDOWCALL window. If the
parameter <Handle> is missing, the image is displayed in the current
window. The variable EBUS_PAINT specifies when the image is to be shown. If EBUS_PAINT <> -1, the image is the first to be painted when the screen is
painted. This means that following paint functions like FILLRECT overwrite the image. If EBUS_PAINT =
-1, the image is painted accordingly to the order of the paint functions. Example 1: H% = FILLRECT(...) H% = LOAD_PICTURE(...) The image is painted before FILLRECT(..) and
possibly overlapped by FILLRECT(...). Example 2: EBUS_PAINT = -1 H% = FILLRECT(...) H% = LOAD_PICTURE(...) FILLRECT(..) is executed first and then
LOAD_PICTURE. It is possible that the image overlaps the area painted by
FILLRECT. It is possible to load images from WEB. The <Image
Name> has to start with one of the following prefixes: http: https: ftp: ftps: |
||||||||||||||||||
|
Parameter: |
|
||||||||||||||||||
|
Sample: |
H% = LOAD_PICTURE(5,10,0,0,0,0,"Photo.jpg") IF H% <> 0 THEN ... Error ... ENDIF |
||||||||||||||||||
|
See also: |
|