Вы находитесь на странице: 1из 2

- Setting Forms height and width

# Forms applet parameter


width=100%
# Forms applet parameter
height=100%
# Forms applet parameter
separateFrame=false
- Enabling button near text item that contains LOV
In Registry.dat Configuration file:
{DEV_HOME}forms\java\oracle\forms\registry\Registry.dat
In that file change
app.ui.lovButtons=false to true
- Redefining key mapping for forms
Key Mapping in Oracle Forms 10g and Forms 11g | Shortcut keys
Key mapping or key binding defines how an application should respond whe
n mapped key is typed.
Usually application executes some function in repose.
For example in Forms 6i, when user types F9, List of value is displayed
to the user.
It means that key F9 is mapped to function List of Values .
In oracle Forms this key mapping is defined in fmrweb.res file.
Oracle provided a tool named Oracle Terminal in Forms 6i to customize key
mapping.
In Forms 10g and Forms 11g this file is directly editable.
{DEV_HOME}forms\fmrweb.res
In Forms 11g this file can be located at following location
$Instance_home/config/FormsComponent/forms/admin/resource/US
In Forms 10, frmweb.res can be located in \forms directory
As you know, in Forms 10g and 11g List of values is mapped to Ctrl+L key.
Following section explains how to change List of values to F9 key.
Let have a look at the following line in frmweb.res file which maps List
of values to Ctrl+L key
76

: 2 : Ctrl+L

: 29 : List of Values

it very important to understand the syntax.


76: is the key code of
L character
2: means that it will be accessed with Ctrl
0 is used to access it stand alone
Ctrl+L: it is the key used to access

key, 1 is used for Shift

key and

List of values: it is function called when the Ctrl+L is type


To re-map List of values from Ctrl+L to F9 key, we need key code of F9 key
which is 120.
A complete list of key codes can be view at following link
Keyboard keys and Key Values -->
http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/
wwhelp.htm?context=LiveDocs_Parts&file=00001136.html

Now edit key mapping for List of values as under


120 : 0 :

F9?

: 29 :

List of Values

To test it, restart your forms application. Now List of values is availa
ble with F9 key.
similarly if you want to use Shift+F
for List of values, use following ma
pping
120 : 1 : Shift+F9?

: 29 :

List of Values

and use following mapping to access List of values with


120 : 2 : Ctrl+F9?

: 29 :

Ctrl+F9?

List of Values

If you want to retains all Forms 6i short keys in Forms 10g or Forms 11g
, visit following page.
http://www.exploreoracle.com/2012/05/23/enable-forms-6i-short-keys-in-fo
rms-10g-and-forms-11g/
- Shortening and hiding username/password in report link
In cgicmd.date Configuration File:
{DEV_HOME}reports\conf\cgicmd.date
add new line
userlogin:
-

userid=image/m235ir@image %*

Вам также может понравиться