Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

edit table edit key messages (OpenInsight 32-bit Specific)

At 26 APR 2005 01:20:48AM Gerald Lovel wrote:

I am stumped by the following issues:

1) where in the OI documentation is an insert definition for the DT_…$ and DTM_…$ equates which are used with Edit Tables?

2) The ContextMenu Function documentation indicates that for controls other than an edittable, a call to contextmenu will execute the corresponding menu item. For edittables, the statement

Call PostMessage( hWnd, WM_RBUTTONDOWN$, 0, lparm )

should do the trick. Is there a similar way to pass the standard edit keys Ctrl-Z, Ctrl-X, Ctrl-C, Ctrl-V, Ctrl-A, Del to the edittable control, provided these keys have been assigned as shortcut keys in a menu? Assigning the keys seems to block them from getting to the edittable.


At 27 APR 2005 06:26AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Gerald,

1) where in the OI documentation is an insert definition for the DT_…$ and DTM_…$ equates which are used with Edit Tables?

The EditTable is based on an old custom control from Protoview called a Datatable. Those message equates are from the actual DataTable header files, which are not distributed with OI - I don't know if Rev have any plans to do so in the future.

Is there a similar way to pass the standard edit keys Ctrl-Z, Ctrl-X, Ctrl-C, Ctrl-V, Ctrl-A, Del to the edittable control, provided these keys have been assigned as shortcut keys in a menu? Assigning the keys seems to block them from getting to the edittable.

You really need put to the cell you're on in edit mode first before you try the CUT/PASTE calls. Take a look at this article for more on setting the edit mode…

The Sprezzatura Group

World leaders in all things RevSoft

View this thread on the forum...