Dear Experts,
Seems like the only way to exit a BROWSE window using the keyboard is to press [ESC]. So I decided to put in this code before the BROWSE is called so that user can simply press the [Enter] key to exit BROWSE.
ON KEY LABEL ENTER KEYBOARD '{ESC}'
It worked quite well until I compiled the program. The program halts with a non-descript error message (Cancel or Ignore). How to handle this in an EXE file?
I don't want to use the Grid object in this particular situation because it is a general purpose form called by different programs so the ALIAS is created on the fly and I have to pre-define the KEYPRESS method on each object in the grid. Appreciate any advice on this matter.
Thank you.
Seems like the only way to exit a BROWSE window using the keyboard is to press [ESC]. So I decided to put in this code before the BROWSE is called so that user can simply press the [Enter] key to exit BROWSE.
ON KEY LABEL ENTER KEYBOARD '{ESC}'
It worked quite well until I compiled the program. The program halts with a non-descript error message (Cancel or Ignore). How to handle this in an EXE file?
I don't want to use the Grid object in this particular situation because it is a general purpose form called by different programs so the ALIAS is created on the fly and I have to pre-define the KEYPRESS method on each object in the grid. Appreciate any advice on this matter.
Thank you.