Home » Developer & Programmer » Forms » HOW 2 use ESC key in FORMS
HOW 2 use ESC key in FORMS [message #258104] Fri, 10 August 2007 04:23 Go to next message
musman
Messages: 147
Registered: July 2007
Location: Lahore
Senior Member

i want that after running my form..
when i press ESC key on my key-board that form exits.
how can i do this..

AM using FORMS 6i

[Updated on: Fri, 10 August 2007 04:35]

Report message to a moderator

Re: HOW 2 use ESC key in FORMS [message #258157 is a reply to message #258104] Fri, 10 August 2007 07:20 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Map ESC key to "Exit" event. In 6i, I think you'll have to use Oracle Terminal editor to modify 'fmrweb.res' file (which contains key mappings). In more recent Developer Suite versions, you'd do that using any text editor.

Comment or delete such a line
115 : 0 : "F4" : 32 : "Exit"
and, instead of it, put
27 : 0 : "Esc" : 32 : "Exit"
.
Re: HOW 2 use ESC key in FORMS [message #258313 is a reply to message #258104] Sat, 11 August 2007 00:14 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
I dont think that there is a trigger at form, block and item level that can sence that Esc key has been pressed. Did you checked the functional keys?

Regards,
Azam Khan
Re: HOW 2 use ESC key in FORMS [message #258506 is a reply to message #258313] Sun, 12 August 2007 20:11 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I just tested Forms 4.5 and 6.0 on AIX via emulator, and neither of them recognises 'Esc' as a valid key with the emulator that we use. You may have to do some testing to make sure that Forms can see the 'Esc' key.

David
Re: HOW 2 use ESC key in FORMS [message #258564 is a reply to message #258506] Mon, 13 August 2007 01:35 Go to previous messageGo to next message
musman
Messages: 147
Registered: July 2007
Location: Lahore
Senior Member

bay changing that file it works ..
but only on web ...
not else
Re: HOW 2 use ESC key in FORMS [message #258570 is a reply to message #258564] Mon, 13 August 2007 01:50 Go to previous messageGo to next message
musman
Messages: 147
Registered: July 2007
Location: Lahore
Senior Member

hay there is no KEY-Esc trigger
my client requirnment is that there are 5 items in form ...
if she is on 3,4,or 5th item and press Esc
cursor go to first ITEM..
How to do this???
Re: HOW 2 use ESC key in FORMS [message #258591 is a reply to message #258570] Mon, 13 August 2007 02:27 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Press 'page-up'?

David
Previous Topic: Database procedure or Forms procedure
Next Topic: ORA-01722 (Invalid Number) When Fetching Data from Cursor
Goto Forum:
  


Current Time: Sun Feb 09 19:25:31 CST 2025