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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EDIT_TEXTITEM built-in<br />

Description<br />

Invokes the Runform item editor for the current text item and puts the form in Edit mode.<br />

Syntax<br />

PROCEDURE EDIT_TEXTITEM;<br />

PROCEDURE EDIT_TEXTITEM<br />

(x NUMBER,<br />

y NUMBER);<br />

PROCEDURE EDIT_TEXTITEM<br />

(x NUMBER,<br />

y NUMBER,<br />

width, NUMBER<br />

height NUMBER);<br />

Built-in Type restricted procedure<br />

Enter Query Mode yes<br />

Parameters<br />

x Specifies the x coordinate on the screen where you want to place the upper<br />

left corner of the pop-up item editor.<br />

y Specifies the y coordinate on the screen where you want to place the upper<br />

left corner of the pop-up item editor.<br />

width Specifies the width of the entire editor window, including buttons.<br />

height Specifies the height of the entire editor window, including buttons.<br />

100<br />

If you specify a height less than 6 character cells, or its equivalent, <strong>Form</strong><br />

<strong>Builder</strong> sets the height equal to 6.<br />

You can use the optional EDIT_TEXTITEM parameters to specify the location and dimensions of the<br />

pop-up window with which the item editor is associated. If you do not use these parameters, <strong>Form</strong><br />

<strong>Builder</strong> invokes the item editor with its default location and dimensions.<br />

EDIT_TEXTITEM restrictions<br />

• The Width must be at least wide enough to display the buttons at the bottom of the editor window.<br />

EDIT_TEXTITEM examples<br />

/*<br />

** Built-in: EDIT_TEXTITEM<br />

** Example: Determine the x-position of the current item<br />

** then bring up the editor either on the left<br />

** side or right side of the screen so as to not<br />

** cover the item on the screen.<br />

*/<br />

DECLARE<br />

itm_x_pos NUMBER;

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

Saved successfully!

Ooh no, something went wrong!