Philip A. Viton wrote:
I'd like to set up my gridp_close override verb to send the grid an ENTER key before I close it - the idea is to make sure that the last change I made in the grid "takes": can anyone tell me how to do this? I've been looking through the documentation, and can't figure it out.

There is no sendkey verb for grid, but what you can do is to check if the grid State is iEdit, and if so, call editfini or the relevant code from editfini. See also the char verb in jzgrid which handles all keypress events.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to