Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 01 FEB 1999 04:36:18PM Richard Hunt wrote:

I am using an EDITTABLE for selections (kinda like a popup). I use DBLCLK event for selection. I also use the SPACE bar to select. I want to use the ENTER key.

I tried to use the ENTER key. I tried to set up the ENTER key as a hot key. None of this worked.


At 01 FEB 1999 05:09PM Donald Bakke wrote:

Richard,

I believe the enter key is reserved strictly for navigating the edittable. Unless there is is some fancy way of accessing the sub-classed control and modifying its keystroke behaviour I don't think you'll get this to work the way you want.

[email protected]

SRP Computer Solutions


At 02 FEB 1999 01:25PM Thomas Dunlop wrote:

Hi Richard,

I'm in the process of getting a definitive answer to whether or not it can be done. In the the meantime, you might want to take a look at the knowledgebase article "Catching a Right Mouse Click, and Other Windows Messages" posted 10/21/97. The hexidecimal for return as it's listed in the windows.h file is:

#define VK_RETURN 0x0D

Tom Dunlop

Revelation Software


At 03 FEB 1999 07:22PM Cameron Purdy wrote:

Richard,

Put the code on a button CLICK event. Set it as the default button. When the user presses enter, it will fire the CLICK event. To make the button "invisible", move it to x=-100 y=-100 (off the screen) and make sure it isn't in the tab order.

Cameron Purdy

Revelation Software

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/161b816905a0255f8525670b0076ae36.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1