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.

SET_OLE built-in<br />

Description<br />

Changes the value of an OLE property.<br />

There are three versions of the procedure, one for each of the new-value types: NUMBER, VARCHAR,<br />

and OLEVAR.<br />

Syntax<br />

PROCEDURE SET_OLE<br />

(obj OLEOBJ, memberid PLS_INTEGER<br />

newval NUMBER, vtype VT_TYPE);<br />

PROCEDURE SET_OLE<br />

(obj OLEOBJ, memberid PLS_INTEGER<br />

newval VARCHAR2, vtype VT_TYPE);<br />

PROCEDURE SET_OLE<br />

(obj OLEOBJ, memberid PLS_INTEGER<br />

newval OLEVAR, vtype VT_TYPE);<br />

Built-in Type unrestricted procedure<br />

Parameters<br />

obj A pointer to the OLE object.<br />

memberid The member ID of the OLE property.<br />

newval A new value of the specified type to replace the OLE<br />

property.<br />

vtype The VT_TYPE of the original variant.<br />

Usage Notes<br />

402<br />

This is an optional parameter. If not specified, the default<br />

value for the NUMBER version of the procedure is<br />

VT_R8. For the VARCHAR2 version, the default is<br />

VT_BSTR. For the OLEVAR version, the default is<br />

VT_VARIANT: that is, whatever type the variant itself<br />

actually specifies .<br />

If INIT_OLEARGS and ADD_OLEARG calls precede this SET_OLE call, and there have been no<br />

intervening GET_OLE, SET_OLE, or CALL_OLE calls, then this call will access the property by using<br />

the arguments specified in those INIT_OLEARGS and ADD_OLEARG calls.

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

Saved successfully!

Ooh no, something went wrong!