mapeando teclas de função no forms 10g

Dicas do Oracle Forms Builder - Blocos, Itens, LOV, Canvas, Triggers, comandos, PLL, d2kwutil, FMB, Alert, menus, etc
Responder
jramiro
Rank: Programador Júnior
Rank: Programador Júnior
Mensagens: 15
Registrado em: Seg, 21 Ago 2006 12:13 pm
Localização: rio de janeiro - RJ
___________________
Jorge Ramiro

Estou necessitando mapear as teclas para utilização do forma 10g -web atraves do arquivo frmwebptb.res.

consegui mapear todas as teclas, exceto a F2. quando a utilizo não responde ao estimulo que deveria responder; fiz o teste abaixo na trigger F2 e ela não funcionou. para as demais teclas fiz o mesmo teste e funcionou.

Selecionar tudo

DECLARE
v_temp NUMBER (4);
v_cod_mensagem NUMBER (6) := MESSAGE_CODE;
v_mensagem VARCHAR(300):= 'TECLA F2';
BEGIN
    SET_ALERT_PROPERTY('INFO',ALERT_MESSAGE_TEXT,v_mensagem);
    v_temp:= SHOW_ALERT('INFO');
    commit;
END;
abaixo segue o mapeamento. o que poderá estar ocorrendo?

Selecionar tudo

#  FMRWEB.RES is the key definition file for webforms. The syntax is:
#
#    JFN : JMN : URKS : FFN : URFD   (whitespace ignored)
#
#      JFN = Java function number
#      JMN = Java modifiers number
#     URKS = User-readable key sequence (double-quoted)
#      FFN = Forms function number
#     URFD = User-readable function description (double-quoted)
#
#  JAVA FUNCTION NUMBER
#         33 = PageUp
#         34 = PageDown
#         35 = End
#         36 = Home
#         37 = LeftArrow
#         38 = UpArrow
#         39 = RightArrow
#         40 = DownArrow
#    65 - 90 = Ctrl+A thru Ctrl+Z (These will always have the control
#              modifier explicitly included, as well as any other
#              modifiers that might be used.)
#  112 - 123 = F1 thru F12
#          9 = Tab (Ctrl+I, without the control modifier)
#         10 = Return (Ctrl+J, without the control modifier)
#
#  JAVA MODIFIERS NUMBER
#  Equal to the sum of the values for the modifier keys:
#    0 = None
#    1 = Shift
#    2 = Control
#    4 = Meta
#    8 = Alt
#
#  FORMS FUNCTION NUMBER
#  The Forms function numbers match the function numbers found in a
#  typical Forms key binding file.
#
#  USER-READABLE STRINGS 
#  The double-quoted strings appear when users click [Show Keys], and
#  are used for this purpose only. These strings can be translated as
#  needed. Note that the strings do not affect what actually happens
#  when end users press a particular key sequence.
#
9    : 0 : "Tab"            : 1  : "Next Field"
9    : 1 : "Shift+Tab"      : 2  : "Previous Field"
38   : 0 : "Up"             : 6  : "Up"
40   : 0 : "Down"           : 7  : "Down"
33   : 0 : "PageUp"         : 12 : "Scroll Up"
34   : 0 : "PageDown"       : 13 : "Scroll Down"
69   : 2 : "Ctrl+E"         : 22 : "Edit"
10   : 0 : "Return"         : 27 : "Return"
113  : 0 : "F2"             : 84 : "Function 2"
114  : 0 : "F3"             : 85 : "Function 3"
115  : 0 : "F4"             : 86 : "Function 4"
116  : 0 : "F5"             : 87 : "Function 5"
117  : 0 : "F6"             : 88 : "Function 6"
118  : 0 : "F7"             : 89 : "Function 7"
119  : 0 : "F8"             : 74 : "Enter Query"
120  : 0 : "F9"             : 77 : "Execute Query"
121  : 0 : "F10"            : 82 : "Function 0"
123  : 0 : "F12"            : 80 : "Count Query"
75   : 2 : "Ctrl+K"         : 35 : "Show Keys"
1005 : 0 : "Down"           : 67 : "Next Record"
1004 : 0 : "Up"             : 68 : "Previous Record"
34   : 1 : "Shift+PageDown" : 71 : "Next Block"
33   : 1 : "Shift+PageUp"   : 72 : "Previous Block"
69   : 3 : "Shift+Ctrl+E"   : 78 : "Display Error"
80   : 2 : "Ctrl+P"         : 79 : "Print"
72   : 2 : "Ctrl+H"         : 30 : "Help"
Responder
  • Informação
  • Quem está online

    Usuários navegando neste fórum: Nenhum usuário registrado e 15 visitantes