Version 6.3.8 for Windows
 —  Dialog Component Reference  —

OLE-SET-DATA

This document covers the following topics:


Description

Puts the content of a Natural variable into an embedded object. Corresponds with the OLE-GET-DATA Action. You put the variable content into the object by executing this procedure; the second parameter contains the size of the object. It is recommended to define an array of variables that is large enough to hold the object: some objects are at least 10 KB in size.

Top of page

Parameters

Name/Data Type Explanation
HANDLE OF GUI Input

Specifies an OLE Container Control.

Variable Input

Variable or (usually) an array of variables.

Size (I4) Input

Size of the object.

Response (I4) Output

Natural error (if applicable).

Example:

 
PROCESS GUI ACTION OLE-SET-DATA WITH #OCT-1 #MYVARI (1:5) #REALSIZE 
GIVING #RESPONSE

Top of page