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.

SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS system<br />

variable<br />

Syntax<br />

SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS<br />

Description<br />

SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS stores the supplementary arguments for an event<br />

fired by a VBX (in 16-bit Microsoft Windows) or ActiveX (in 32-bit Windows) control.<br />

SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS examples<br />

Obtains the value of the ’Button’ parameter that stores the value of a VBX control event, and passed the<br />

’Button’ value to the user-defined Move_Image subprogram.<br />

DECLARE<br />

parmType NUMBER;<br />

parmValue VARCHAR2(80);<br />

BEGIN<br />

Get_Parameter_Attr(:System.Custom_Item_Event_Parameters,<br />

’Button’,parmType,parmValue);<br />

/*<br />

** The value of the ’Button’ parameter represents the<br />

** direction to move an image. The user-defined Move_Image<br />

** subprogram moves an image two pixels in the direction<br />

** specified by ’Button’ parameter.<br />

*/<br />

Move_Image(parmValue);<br />

END;<br />

387

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

Saved successfully!

Ooh no, something went wrong!