11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SET_CANVAS_PROPERTY built-in<br />

Description<br />

Sets the given canvas property for the given canvas.<br />

Syntax<br />

SET_CANVAS_PROPERTY<br />

(canvas_id CANVAS,<br />

property NUMBER,<br />

value VARCHAR2);<br />

SET_CANVAS_PROPERTY<br />

(canvas_id CANVAS,<br />

property NUMBER,<br />

x NUMBER);<br />

SET_CANVAS_PROPERTY<br />

(canvas_id CANVAS,<br />

property NUMBER,<br />

x NUMBER,<br />

y NUMBER);<br />

SET_CANVAS_PROPERTY<br />

(canvas_name VARCHAR2,<br />

property NUMBER,<br />

value VARCHAR2);<br />

SET_CANVAS_PROPERTY<br />

(canvas_name VARCHAR2,<br />

property NUMBER,<br />

x NUMBER);<br />

SET_CANVAS_PROPERTY<br />

(canvas_name VARCHAR2,<br />

property NUMBER,<br />

x NUMBER,<br />

y NUMBER);<br />

Built-in Type unrestricted procedure<br />

Enter Query Mode yes<br />

Parameters<br />

canvas_id The unique ID <strong>Form</strong> <strong>Builder</strong> assigned to the canvas object when you<br />

created it. Use the FIND_CANVAS built-in to return the ID to a variable<br />

of datatype CANVAS.<br />

canvas_name The name you gave the canvas object when you defined it. Datatype is<br />

VARCHAR2.<br />

property The property you want to set for the given canvas. Possible properties are:<br />

BACKGROUND_COLOR The color of the object’s background region.<br />

CANVAS_SIZE The dimensions of the canvas (width, height).<br />

FILL_PATTERN The pattern to be used for the object’s fill region.<br />

Patterns are rendered in the two colors specified by Background Color and<br />

Foreground Color.<br />

367

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!