OLE-SET-DATA

#### Search Results

Search

# OLE-SET-DATA

This document covers the following topics:

- Description

- Parameters

## 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.

## 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

### On this page

- Description
- Parameters