Description
Requests a specific action from a form or control.
Syntax
response = Send_Message (controlID, message, param1, param2, param3, param4)
Parameters
controlID is the fully qualified name of the form or control.
Choose a message from the following list:
The text to display in the status line or System Monitor | Text |
---|---|
Edit Table Column Styles | This is a listing of the various styles that can be set within an edit table column. |
CLEARDRAGDATA | This message removes all data from the drag source data object. This can be used during a DRAGSTART event to cancel the drag. |
COLCHARS | Number of characters in an edit table column. |
COLDROPDOWNLIST | Sets or retrieves the Drop Down list used within an edit table's COLUMN, a ROW, or a particular CELL. |
COLLABEL | Label of the specified edit table column. |
COLOR_BY_POS | Set the background color, foreground color, selected background color, and/or selected foreground color, for a specified cell in an edit table. |
COLSTYLE | Styles, of edit table columns. |
COLWIDTH | Widths of edit table columns. |
COPY | Copies the current selection from an edit control or combo box to the clipboard. |
CUT | Deletes (cuts) the current selection from an edit control or combo box and copies the deleted text to the clipboard. |
DELETE | Deletes a row in a Combo box, edit table, and list box. |
DELETE_EX | Deletes an item from a visible or non-visible part of a (hierarchical) list. |
DELETECOL | Delete an edit table column. |
DROPDOWNLIST_BY_POS | Sets or retrieves the Drop Down list used within an edit table's COLUMN, a ROW, or a particular CELL. |
EXPAND | Expands or collapses hierarchical list box. |
FINDTEXT | Used to search for text within an edit box control. |
FONT_BY_POS | Font for text of specified item. |
FORCEKEYDISPATCH | The FORCEKEYDISPATCH message will force the OpenInsight Presentation Server to handle an individual keystroke regardless of the OCX translation. |
GETDRAGDATA | This message is used to extract data of a specified format from a dragged data object. |
GETCHARFORMAT | Used to retrieve selected text’s character format within an edit box control. |
INSERT | Insert new row or rows into list box, edit table, etc. |
INSERT_EX | Insert new item or items into a visible or non-visible part of a (hierarchical) list. |
INSERTCOL | Inserts column into an edit table. |
MDICASCADE | Arranges MDI child windows in cascaded format. |
MDIICONARRANGE | Arranges minimized MDI child windows. |
MDITILE | Arranges MDI child windows in tiled format. |
MOVE_ROW | Moves rows within an edit table control. |
PASTE | Inserts data from the clipboard at the current cursor position. |
POS_BY_CURSOR | Determines the cell, within an edit table, that the mouse cursor is over. |
POS_BY_CLIENT_CURSOR | Determines the cell that the mouse cursor is over. |
POS_BY_TEXT | Position of a list item. |
QUALIFY_EVENT | Enable or disable events for specified control. |
REMOVEDRAGDATA | This message is used to remove the specified data format from the dragged data. |
RESETZORDER | Used to ensure that controls are placed properly into the Z order when created. |
ROWHEIGHT | Set or retrieve the height of all rows in an edit table control. |
SCROLL | Scroll a window. |
SELPOS_EX_BY_POS | Position of a non-visible list item in a hierarchical list. |
SETCHARFORMAT | Used to set selected text’s character format within an edit box control. |
SETDRAGBITMAP | This message sets the bitmap used by the system when dragging data from the drag source. |
SETDRAGDATA | This message is used to set the data for a dragged data object. |
SET_ZORDER | Allows the z-order position of a control to be set programmatically. |
STYLE_BY_POS | Sets or retrieves the style of a COLUMN, a ROW, or a particular CELL within an edit table. |
SUPPRESSKEYTRANSLATE | This message provides for NOACCELTRANSLATION property functionality for specific keystrokes within an OLE/OCX control. |
TEXT_BY_POS | Text of a list item. |
UNDO | Undoes the previous operation. |
UPDATE | Updates the image of an item in a list box with bitmaps. |
1 Comment
Don Bakke
Send_Message seems to require every defined argument to be populated (even if you just pass in an empty string) in order to work.