Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

Edittable PGUP PGDN etc OI 9.4.4

edited January 13 in OpenInsight
I want to respond to the event of a keystroke in an edittable. In particular I need to respond to the PGDW PGUP HOME END and arrow keys.
I read on the Rev forum these keys are not passed unless you Qualify the WM_PARENTNOTIFY event on the edittable in the CREATE event.
So I add Call Send_Message("TEST.TABLE"," QUALIFY_EVENT", 528, 1) to the CREATE event.
However I never a get a CHAR event or a WINMSG event when pressing these keys.
Is this just not possible?

Comments

  • I saw your post in the WORKS forum and was surprised to see that you were following up on a several years old discussion. I gather this is still important to you.

    I cannot say if this is possible. I simply haven't played with this (and usually I don't need to because we tend to use the SRP EditTable). I'll let you to contact me directly if you are interested in me scheduling time to dive deeper.

    Perhaps this is just a typo when you posted the code in your post, but I see a space between the opening quote and the keyword QUALIFY_EVENT. If that is how your code looks then I would not expect it to work.
  • If I was to use your edittable, we use it pretty much everywhere else, could I then intercept the arrow keys etc?

    BTW the typo was in my post on here it was correct in my code.
  • Jim - I'm not sure if it will do exactly what you want. Are you hoping to intercept those keys in order to create your own behavior or do you simply need to know when those keys were used to navigate the EditTable control? Or are you looking to achieve something else entirely?
Sign In or Register to comment.