OLE Control actions
closeWidget
The closeWidget action closes the part, but the connections are maintained and the widget can be reopened.
contentsHelp
The contentsHelp action requests that the contents of the help file for the part be displayed.
disable
The disable action makes the part unavailable for selection.
doVerb:
The doVerb: action performs the action specified by the passed OLE verb.
enable
The enable action makes the part available for selection.
help
The help action requests that the general help associated with the part be displayed. General help is the main help panel associated with the part. You usually access general help through a help button on a window. From the general help panel you can access other help panels (such as menu and field help).
helpForHelp
The helpForHelp action requests that help for help be displayed. The help for help panel provides instructions for using a help system. You usually access this help panel from the Help menu. It can contain information such as the structure and organization of the help library.
helpIndex
The helpIndex action requests that the help index be displayed. The help index lists key words or phrases that, when selected, link you to the help panel that explains the word or phrase.
hide
The hide action makes the part invisible.
invoke:withArguments:returnType:
The invoke:withArguments:returnType: action invokes the specified OLE method with arguments for the OLE automation server. If the method name is not found, this action returns nil. Otherwise, the return value is derived from the value of returnType as follows:
false
Return value is ignored
true
Return the return value from the OLE method
valid VARTYPE
Return the return value coerced to returnType
The method name argument must be a string or DISPID. A DISPID is a well known integer value; each OLE method is identified by name or by DISPID.
The arguments must be specified as an array of Smalltalk objects. Simple Smalltalk objects are automatically converted into their OLE equivalents, based on their classes. The following conversions are supported:
o Integer
o Float
o String
o Boolean
o OleAutomationObject
A value of nil is used to specify an OLE optional argument.
keysHelp
The keysHelp action requests that the keys help be displayed. The keys help panel explains the function and use of certain keyboard keys in an application.
openWidget
The openWidget action opens the part.
propertyAt:
The propertyAt: action returns the value of the named property of the OLE object. If the property is not found, this action returns nil. Otherwise, the result is the value returned by the OLE automation server.
The property name must be specified as a string or a DISPID. A DISPID is a well known integer value; each OLE property is identified by name or by DISPID.
propertyAt:put:
The propertyAt:put: action sets the value of the named property of the OLE object. If the property is not found, this action returns nil. Otherwise, the result is the value returned by the OLE automation server.
The property name must be specified as a string or a DISPID. A DISPID is a well known integer value; each OLE property is identified by name or by DISPID.
The value must be specified as an array of Smalltalk objects. Simple Smalltalk objects are automatically converted into their OLE equivalents, based on their classes. The following conversions are supported:
o Integer
o Float
o String
o Boolean
o OleAutomationObject
setFocus
The setFocus action sets input focus to the part. Focus determines whether or not keyboard input is directed to the part.
The setFocus action acts differently depending on which part is receiving the action. For example, if you connect the setFocus action to a Window part, the window comes to the foreground and is the active window. Or, if you connect the setFocus action to a Text part in a window, the cursor is moved to this field.
show
The show action makes the part visible.
Last modified date: 01/29/2015