Trapping Key Presses
Deskin, Bob
Bob.Deskin@Cognos.COM
Wed, 17 Nov 2004 06:46:30 -0500
This is a multi-part message in MIME format.
------_=_NextPart_001_01C4CC9B.140CB244
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
By trapping key presses I take it that you want to assign specific key =
presses to specific QUICK commands. You can't directly run a procedure, =
other than named DESIGNER procedures. Take a look at the QKGO system and =
the TIC screens. Most terminals (and equivalent emulations) are set up =
to allow you to assign selected keys to commands.
=20
The other option is the KEY statement. It's designed to use the function =
keys. However, on a non-HP terminal (i.e. with no terminal labels), =
getting more than one bank is an issue. You don't want to use key levels =
because the user won't know what command is set.
Bob Deskin =20
Senior Product Manager, Application Development Tools=20
Cognos Inc. 3755 Riverside Drive, Ottawa ON K1G 4K9 CANADA=20
bob.deskin@cognos.com (613) 738-1338 ext 7268=20
-----Original Message-----
From: powerh-l-admin@lists.sowder.com =
[mailto:powerh-l-admin@lists.sowder.com]On Behalf Of Glenn Kimberley
Sent: November 17, 2004 6:30 AM
To: powerh-l@lists.sowder.com
Subject: Trapping Key Presses
Hi
=20
Has anybody had any experience in trapping key presses in quick screens =
for example when a user presses F1 run an procedure.=20
Any pointers in the right direction would be gratefully received=20
=20
Running=20
Powerhouse 8.23.D7
Unix AIX 3.4
Oracle version 8
=20
Thanks=20
Glenn
=20
=20
=20
=20
Glenn Kimberley
developer
research & development
e-mail: <mailto:glenn.kimberley@crick.ramesys.com> =
glenn.kimberley@crick.ramesys.com
ramesys
professional services ltd
eldon way crick northants nn6 7sl
web: <http://www.ramesys.com/> http://www.ramesys.com
ramesys professional services ltd is part of ramesys holdings ltd=20
=20
This message may contain privileged and/or confidential =
information. If you have received this e-mail in error or are not the =
intended recipient, you may not use, copy, disseminate or distribute it; =
do not open any attachments, delete it immediately from your system and =
notify the sender promptly by e-mail that you have done so. Thank you.=20
=20
------_=_NextPart_001_01C4CC9B.140CB244
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<HTML xmlns:eXclaimer=3D"http://www.exclaimer.co.uk">
<HEAD>
<META http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3DUTF-16">
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUTF-16">
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4943.400" name=3DGENERATOR></HEAD><BODY =
><DIV>
<DIV><SPAN class=3D654284211-17112004><FONT face=3DArial color=3D#0000ff =
size=3D2>By=20
trapping key presses I take it that you want to assign specific key =
presses=20
to specific QUICK commands. You can't directly run a procedure, =
other than=20
named DESIGNER procedures. Take a look at the QKGO system and the TIC =
screens.=20
Most terminals (and equivalent emulations) are set up to allow you to =
assign=20
selected keys to commands.</FONT></SPAN></DIV>
<DIV><SPAN class=3D654284211-17112004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D654284211-17112004><FONT face=3DArial color=3D#0000ff =
size=3D2>The=20
other option is the KEY statement. It's designed to use the function =
keys.=20
However, on a non-HP terminal (i.e. with no terminal labels), getting =
more than=20
one bank is an issue. You don't want to use key levels because the user =
won't=20
know what command is set.</FONT></SPAN></DIV>
<DIV><SPAN class=3D654284211-17112004>
<P><FONT face=3DArial size=3D2>Bob=20
Deskin &=
nbsp; =20
</FONT><BR><FONT face=3DArial size=3D2>Senior</FONT> <FONT face=3DArial =
size=3D2>Product=20
Manager</FONT><FONT face=3DArial size=3D2>,</FONT> <FONT face=3DArial=20
size=3D2>Application Development Tools</FONT> <BR><FONT face=3DArial =
size=3D2>Cognos=20
Inc.</FONT><FONT face=3DArial size=3D2></FONT> <FONT face=3DArial =
size=3D2>3755=20
Riverside Drive</FONT><FONT face=3DArial size=3D2>,</FONT> <FONT =
face=3DArial=20
size=3D2>Ottawa ON K1G 4K9 CANADA</FONT> <BR><FONT face=3DArial=20
size=3D2>bob.deskin@cognos.com</FONT><FONT face=3DArial size=3D2></FONT> =
<FONT=20
face=3DArial size=3D2>(613) 738-1338 ext</FONT> <FONT face=3DArial =
size=3D2>7268</FONT>=20
</P></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B>=20
powerh-l-admin@lists.sowder.com =
[mailto:powerh-l-admin@lists.sowder.com]<B>On=20
Behalf Of </B>Glenn Kimberley<BR><B>Sent:</B> November 17, 2004 6:30=20
AM<BR><B>To:</B> powerh-l@lists.sowder.com<BR><B>Subject:</B> Trapping =
Key=20
Presses<BR><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D134222411-17112004>Hi</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D134222411-17112004></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D134222411-17112004>Has =
anybody had=20
any experience in trapping key presses in quick screens for =
example when=20
a user presses F1 run an procedure. </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D134222411-17112004>Any =
pointers in=20
the right direction would be gratefully =
received </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D134222411-17112004></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D134222411-17112004>Running=20
</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D134222411-17112004>Powerhouse =
8.23.D7</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D134222411-17112004><SPAN=20
class=3D134222411-17112004>Unix AIX =
3.4</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D134222411-17112004>Oracle version =
8</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D134222411-17112004></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D134222411-17112004>Thanks=20
</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D134222411-17112004>Glenn</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D134222411-17112004></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D134222411-17112004></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D134222411-17112004></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D134222411-17112004></SPAN></FONT> </DIV>
<DIV>
<TABLE id=3DTable1 width=3D"100%">
<TBODY>
<TR>
<TD vAlign=3Dtop align=3Dleft><FONT face=3DArial size=3D3>
<DIV><STRONG>Glenn Kimberley</STRONG></DIV></FONT><FONT =
face=3DArial=20
color=3D#ff0000 size=3D2>
<DIV>developer</DIV></FONT><FONT face=3DArial color=3Dblack =
size=3D2>
<DIV>research & development</DIV></FONT>
<DIV><FONT face=3DArial size=3D2><B>e-mail: </B></FONT><A=20
href=3D"mailto:glenn.kimberley@crick.ramesys.com"><FONT =
face=3DArial=20
=
size=3D2>glenn.kimberley@crick.ramesys.com</FONT></A></STRONG></DIV></FON=
T></TD>
<TD vAlign=3Dtop align=3Dright><FONT face=3D"Arial Black" =
color=3Dblack size=3D4>
<DIV>ramesys</DIV></FONT><FONT face=3DArial color=3D#ff0000 =
size=3D2>
<DIV><STRONG>professional services =
ltd</STRONG></DIV></FONT><FONT=20
face=3DArial color=3Dblack size=3D2>
<DIV><STRONG>eldon way crick northants nn6=20
7sl</STRONG></DIV></FONT><FONT face=3D"Arial Special G1" =
color=3Dblack=20
size=3D2><FONT color=3Dblack>
<DIV><FONT face=3DArial size=3D2><STRONG>web: </STRONG></FONT><A =
href=3D"http://www.ramesys.com/"><FONT face=3DArial=20
=
size=3D2><STRONG>http://www.ramesys.com</STRONG></FONT></A></DIV></FONT><=
FONT=20
color=3Dblack>
<DIV><FONT face=3DArial size=3D1>ramesys professional services =
ltd is part=20
of ramesys holdings =
ltd</FONT></DIV></FONT></FONT></TD></TR></TBODY></TABLE>
<DIV> </DIV>
<DIV> </DIV></DIV>
<DIV><FONT face=3DArial =
size=3D2></FONT> </DIV></BLOCKQUOTE></DIV>
<DIV> </DIV>
<DIV>
<P> <FONT FACE=3D"Arial" =
SIZE=3D"2">This message may contain privileged and/or confidential =
information. If you have received this e-mail in error or are not =
the intended recipient, you may not use, copy, disseminate or distribute =
it; do not open any attachments, delete it immediately from your system =
and notify the sender promptly by e-mail that you have done so. =
Thank you.</FONT>
</P>
</DIV></BODY></HTML>
------_=_NextPart_001_01C4CC9B.140CB244--