Text actions
clearSelection
The clearSelection action clears any selected emphasis from the part. The text in this part is not changed or removed.
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.
copySelection
The copySelection action copies the portion of the text that was selected to the clipboard.
cutSelection
The cutSelection action removes the portion of the text that was selected and copies it to the clipboard.
destroyPart
The destroyPart action destroys the part and its children, and releases all associated resources. You can use this action for both visual and nonvisual parts. All connections to the destroyed part are removed.
disable
The disable action makes the part unavailable for selection.
enable
The enable action makes the part available for selection.
getSelection
The getSelection action captures the text currently selected in the field.
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.
insertTextAtPosition
The insertTextAtPosition action specifies both the text to insert and the location where to insert the text. The cursor position is zero-based.
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.
paste
The paste action places the portion of the text that was copied to the clipboard in the current position. If the text is currently selected, the text is replaced.
queryCursorPosition
The queryCursorPosition action queries the position in the text where the cursor is located. The position is determined by the number of characters from the beginning of the text. The cursor position is zero-based.
querySelection
The querySelection action queries the currently selected text. If nothing is selected, the nil value is returned.
You can connect the querySelection action to an event, such as the clicking of a push button, and then connect the result of the event-to-action connection to a list item.
remove
The remove action removes the text that is currently selected in the field.
selectAll
The selectAll action specifies that all selectable text or items are selected.
selectTextPositionFromTo
The selectTextPositionFromTo action selects the text specifying a starting and ending location. The locations are based on a character index.
setCursorPosition
The setCursorPosition action positions the cursor at a specific location in the text. The cursor position is zero-based.
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