uOleContainer (OleContainer)
The uOleContainer
widget displays an embedded OLE object, enabling you to define
links to OLE objects in Uniface applications.
For more information, see Specifying a Widget for a Field or Entity.
Widget Properties
Property |
Technical Name |
Dynamic? |
---|---|---|
3D |
Yes |
|
AllowedClass |
No |
|
AllowEmbedding |
Yes |
|
AllowLink |
Yes |
|
Attach |
Yes |
|
BackColor |
Yes |
|
DisplayAsIcon |
Yes |
|
NotifyOnChange |
||
Frame |
Yes |
|
LabelFont |
Yes |
|
MouseActivation |
Yes |
|
AttachMargin |
Yes |
|
PopupRect |
Yes |
For more information, see Specifying a Widget for a Field or Entity.
Triggers
Default Logical Widget
Uniface provides a logical widget called OleContainer, which is mapped to uOleContainer
:
OcxContainer=uOcxContainer
Grid and MSAA Support
Supported in Grid? | No |
Supports MSAA? : | No |
Description
The uOleContainer
widget allows you to embed or define links to Object Linking and Embedding (OLE) objects in your Uniface applications. The uOleContainer
can contain only one embedded or linked OLE object, although you can have more
than one uOleContainer
on a form. This widget allows you to integrate OLE objects (such as audio files, Microsoft Excel spreadsheets, and so on) into
Uniface applications.
This widget is available only for Microsoft Windows 2000 and higher.
The UOLEINSERTOBJECT
function
allows you to access the OLE pointer held in Uniface. This function must be exported as follows:
XEXPORT (void) UOLEINSERTOBJECT (void)
If the user focuses on the uOleContainer
, by
pressing either GOLD D or Control+D, the Detail trigger is activated.