A script-enabled browser is required for this page to function properly.

IMAGE_SCROLL Built-in

Description

Scrolls the image item as close to the specified offset (the X,Y coordinates) as possible. This is useful if the image is bigger than the image item.

Syntax

PROCEDURE IMAGE_SCROLL
(item_name VARCHAR2,
X
NUMBER,
Y
NUMBER
);

PROCEDURE IMAGE_SCROLL
(item_id ITEM,
X NUMBER,
Y
NUMBER
);

Built-in Type unrestricted procedure

Enter Query Mode yes

Parameters

item_id 
 
Specifies the unique ID Oracle Forms assigns when it creates the image item.
 
item_name 
 
Specifies the name you gave the image when defining it.
 
 
The X coordinate of the offset.
 
 
The Y coordinate of the offset.

IMAGE_SCROLL Examples

For example, suppose the image is twice the size of the image item, that is, the image coordinates are 0, 200, and the item coordinates are 0, 100. To roughly center the image, you can set IMAGE_SCROLL X, Y coordinates to 50, 50. This sets the top left corner of the item at 50 50 instead of 0, 0, which offsets the image so that it is displayed from its coordinates of 50 to 150.