Home » Developer & Programmer » Forms » Key mapping (form developer 10g)
Key mapping [message #619361] Mon, 21 July 2014 23:06 Go to next message
mahnazzz
Messages: 96
Registered: July 2011
Location: Iran
Member
Hello.
I mapped key Enter in file FMRWEB.RES by using this code
10 : 0 : "Return" : 75 : "Return" 
instead of 
10 : 0 : "Return" : 27 : "Return"

before this modification the ENTER key takes the cursor to the next navigable item in the block .
after the modification it does not do it.
I want that: by default Key Enter takes the cursor to the next navigable item and if I write code in key-enter trigger It does my code.
Is there any way to do it.
thank you.
Re: Key mapping [message #619367 is a reply to message #619361] Tue, 22 July 2014 00:06 Go to previous messageGo to next message
Littlefoot
Messages: 19600
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Restore FMRWEB.RES to its previous state.

KEY-NEXT-ITEM is a trigger that fires when you press <Enter> (or <Tab>, as it is used for the same navigational purpose), so put your own code in there. Don't forget to add NEXT_ITEM into your trigger (otherwise, it won't do its main purpose, i.e. move to the next navigable item).
Re: Key mapping [message #619378 is a reply to message #619367] Tue, 22 July 2014 01:20 Go to previous messageGo to next message
azamkhan
Messages: 492
Registered: August 2005
Senior Member
Where can I find this file. And what is the purpose of this file.
Re: Key mapping [message #619381 is a reply to message #619378] Tue, 22 July 2014 02:11 Go to previous messageGo to next message
Littlefoot
Messages: 19600
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Enabling Key Mappings
Re: Key mapping [message #619383 is a reply to message #619381] Tue, 22 July 2014 02:41 Go to previous messageGo to next message
azamkhan
Messages: 492
Registered: August 2005
Senior Member
Littlefoot wrote on Tue, 22 July 2014 02:11
Enabling Key Mappings


Sad I can't find language directory dude
Re: Key mapping [message #619386 is a reply to message #619383] Tue, 22 July 2014 03:33 Go to previous messageGo to next message
Littlefoot
Messages: 19600
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I can't either, I don't have access to your computer(s).
Re: Key mapping [message #619419 is a reply to message #619386] Tue, 22 July 2014 05:55 Go to previous messageGo to next message
mahnazzz
Messages: 96
Registered: July 2011
Location: Iran
Member
Quote:

Restore FMRWEB.RES to its previous state.

KEY-NEXT-ITEM is a trigger that fires when you press <Enter> (or <Tab>, as it is used for the same navigational purpose), so put your own code in there. Don't forget to add NEXT_ITEM into your trigger (otherwise, it won't do its main purpose, i.e. move to the next navigable item).

Ok. but how can I found ENTER is pressed?
I dont want involve by Java code Sad

[Updated on: Tue, 22 July 2014 05:58]

Report message to a moderator

Re: Key mapping [message #619421 is a reply to message #619419] Tue, 22 July 2014 06:02 Go to previous messageGo to next message
Littlefoot
Messages: 19600
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
What difference does it make if you press <Tab> (users normally don't use it) or <Enter> (yes, users use it frequently to move forward)? If it doesn't matter, KEY-NEXT-ITEM will do the job.
Re: Key mapping [message #619490 is a reply to message #619421] Wed, 23 July 2014 00:23 Go to previous messageGo to next message
mahnazzz
Messages: 96
Registered: July 2011
Location: Iran
Member
I want use Enter instead of cltr+f11 in enter-query mode to fetch data.
I write program for a customer.they say it is not a user-friendly key (cltr+f11 ).
I am innocent. Sad Sad

[Updated on: Wed, 23 July 2014 00:28]

Report message to a moderator

Re: Key mapping [message #619493 is a reply to message #619490] Wed, 23 July 2014 01:05 Go to previous messageGo to next message
Littlefoot
Messages: 19600
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I'd rather use function keys for that purposes. For example, <F7> (enter query mode), <F8> (execute query).

<Enter> key seems to be the most inappropriate in this context.
Re: Key mapping [message #619915 is a reply to message #619493] Fri, 25 July 2014 22:22 Go to previous message
mahnazzz
Messages: 96
Registered: July 2011
Location: Iran
Member
thank you for your attention.
Previous Topic: How to get updated item name and its value on oracle forms 10g
Next Topic: "FRM-41067 Cannot find menu item Invalid id"
Goto Forum:
  


Current Time: Mon Sep 15 23:58:13 CDT 2014

Total time taken to generate the page: 0.08816 seconds