OLE Client attributes
activateVerb (Integer)
The activateVerb attribute specifies the operation to be performed on the contained OLE object when it is activated. Activation is controlled by the activationPolicy attribute. The activation verb is supplied from the verbs list for the contained OLE object. The valid values for this attribute are:
XmVERBPRIMARY
Open the OLE object for editing
XmVERBSHOW
Show the OLE object
XmVERBOPEN
Open the OLE object for editing in a separate window
XmVERBHIDE
Hide the OLE object
XmVERBUIACTIVATE
Activate the UI for the OLE object
XmVERBINPLACEACTIVATE
Open the OLE object for editing in place
XmVERBDISCARDUNDOSTATE
Close the OLE object and discard the undo state
XmVERBPROPERTIES
Request the OLE object properties dialog
activationPolicy (Integer)
The activationPolicy attribute specifies the policy used for activation of the contained OLE object. Valid values are:
XmACTIVATEDOUBLECLICK
Activate the OLE object when a double-click is detected on the OLE Client part.
XmACTIVATEMANUAL
Activate the OLE object only programmatically via the doVerb method.
automationObject (OleAutomationObject)
The automationObject attribute is a read-only attribute representing an instance of OleAutomationObject, for OLE objects that support OLE automation. The automation object can be used for manipulation of the underlying OLE server. If the server does not support OLE automation, automationObject is nil.
backgroundColor (String)
The backgroundColor attribute is the name of the RGB color for the background of the part.
borderWidth (Integer)
The borderWidth attribute is the width of the border, specified in pixels, that surrounds the part on all four sides. A width of zero means that a border does not show.
On some platforms, the border width is limited to 1 pixel and any nonzero value is set to 1.
clientClipping (Boolean)
The clientClipping attribute controls whether the OLE object can draw outside the OLE Client widget.
clientName
The clientName property specifies the OLE class for the OLE object contained in the part. The OLE class name is of the form application.objecttype.version or objecttype.version where:
o application is the name of the application that supplies the object.
o objecttype is the object's name as defined in the registration database.
o version is the version number of the application that supplies the object.
clientType (Integer)
The clientType attribute specifies the type of OLE object that will be contained in the OLE Client part. Valid values are:
XmUNDEFINED
There is no contained OLE object.
XmLINKED
The contained OLE object is linked.
XmEMBEDDED
The contained OLE object is embedded.
clientUserName (String)
The clientUserName attribute is a read-only attribute representing a string containing a user-presentable identification for an OLE object.
deactivationPolicy (Integer)
The deactivationPolicy attribute specifies the policy used for deactivation of the contained OLE object. It cannot be changed after the part is created. Valid values are:
XmDEACTIVATEONLOSEFOCUS
Deactivate the contained OLE object when focus is given to another widget in the same window
XmDEACTIVATEMANUAL
Deactivate the contained OLE object only programmatically via the doVerb method
decorationPolicy (Integer)
The decorationPolicy attribute specifies the policy used for decorations. Valid values are:
XmNONE
Display no special trimmings around the part
XmBORDER
Display a border around the part
XmNIBS
Display resize nibs around the part
XmBORDERANDNIBS
Display a border and resize nibs around the part
displayAsIcon (Boolean)
The displayAsIcon attribute specifies whether the OLE Client part displays its contained OLE object as an icon. If this attribute is set to true after the part is created, the display of the contained OLE object changes appropriately.
dragDropSpec (AbtDragDropSpec)
For more information on the dragDropSpec attribute, refer to Using the dragDropSpec attribute.
enable
The enable action makes the part available for selection.
enableVerbsMenu
The enableVerbsMenu property specifies whether a popup menu containing the valid verbs for the contained OLE Control or OLE Client is automatically hooked to the OLE Control or OLE Client. If the menu attribute is set for the part, the enableVerbsMenu has no effect.
focusDecorationPolicy (Integer)
The focusDecorationPolicy attribute specifies the decoration policy used when the part receives focus. Valid values are:
XmNONE
Display no special trimmings around the part
XmBORDER
Display a border around the part
XmNIBS
Display resize nibs around the part
XmBORDERANDNIBS
Display a border and resize nibs around the part
foregroundColor (String)
The foregroundColor attribute is the name of the RGB color for the foreground of the part.
framingSpec (AbtViewAttachmentConstraint)
The framingSpec attribute represents the values specified for the edge specifications of the part. The edge specifications determine the width, height, and position of the part.
helpFile (String)
The helpFile attribute is the name of the help file associated with the part.
helpKeysId (String)
The helpKeysId attribute is the ID of the keys help associated with the part. The ID can be a string or an integer value.
The ID must exist in the help file associated with the part.
helpTitle (String)
The helpTitle attribute is the title of the help window associated with the part.
helpTopicId (String)
The helpTopicId attribute is the ID of the help topic associated with the part. The ID can be a string or an integer value.
The ID must exist in the help file associated with the part.
isEmbedded (Boolean)
The isEmbedded attribute indicates whether the OLE Client part represents an embedded OLE client.
isLinked (Boolean)
The isLinked attribute indicates whether the OLE Client part represents a linked OLE client.
isRunning (Boolean)
The isRunning attribute specifies whether the server application that provides the OLE object is running. By setting this attribute to true, you can start the application. This is useful for preloading an OLE server application to allow faster activation. Similarly, you can set this attribute to false to close the server application.
isStaticEmbedding (Boolean)
The isStaticEmbedding attribute indicates whether the OLE Client part represents a static item, such as a bitmap or metafile.
mappedWhenManaged (Boolean)
The mappedWhenManaged attribute specifies whether the part should be shown. If the part is currently shown, setting this attribute to false will hide the part. If the part is currently hidden, setting this attribute to true will show the part, if the parent part is shown.
menu (AbtCwMenuView)
The menu attribute is the menu part to use as the part's menu bar or pop-up menu.
oleWidget (CwWidget)
The oleWidget attribute represents the widget for this OLE Client part. The oleWidget attribute is useful when you want to save the OLE object using the OLE File part.
self (<className>)
For more information on the self attribute, refer to Using the self attribute.
sizePolicy (Integer)
The sizePolicy attribute specifies the policy used for controlling the display boundaries of the contained OLE object. Valid values are:
XmSIZEACTUAL
Display the contained OLE object's image in actual size within the part. No changes are made to the extents of the OLE Client or the OLE object.
XmSIZESTRETCH
Stretch the display of the contained OLE object to cover the extents of the part. No changes are made to the extents of the OLE Client or the OLE object.
sourcePath (String)
The sourcePath attribute specifies the file name of the server source for a linked or embedded OLE object. This attribute cannot be changed after the part is created.
tabGroup (Boolean)
The tabGroup attribute specifies whether or not the part is included as a tab stop so users can use the Tab and Backtab keys to access the part.
traversalOn (Boolean)
The traversalOn attribute specifies whether users can access the part using the cursor movement keys. If the part is specified as a tab stop by using the tabGroup attribute, users also can use the Tab and Backtab keys to access the part.
verbs (Array)
The verbs attribute represents an array containing the OLE verbs supported by the OLE object. If the enableVerbsMenu attribute is set to true, a pop-up menu containing an entry for each of the verbs is automatically created.
Last modified date: 01/29/2015