Can PowerHouse "catch" an arrow key stroke?

Mikael.Olesen@qss-uk.com Mikael.Olesen@qss-uk.com
Fri, 16 Jul 2004 08:38:52 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C46B07.F1391690
Content-Type: text/plain

Hi

We used to have a start-up menu where we used the arrow keys to move the
cursor (high lighted menu text) and then you picked the menu hitting return:

Something like this:

SCREEN STARTUP.PH &
MENU &
NOMODE &
NOACTION &
FIELDMARK

TEMPORARY WMENU_ET       CHARACTER*1
TEMPORARY WMENU_TO       CHARACTER*1
TEMPORARY WMENU_TRE      CHARACTER*1
TEMPORARY WMENU_FIRE     CHARACTER*1
TEMPORARY WMENU_FEM      CHARACTER*1
TEMPORARY WMENU_SEKS     CHARACTER*1
TEMPORARY WMENU_SYV      CHARACTER*1
TEMPORARY WMENU_OTTE     CHARACTER*1
TEMPORARY WMENU_NI       CHARACTER*1
TEMPORARY WMENU_TI       CHARACTER*1
TEMPORARY WMENU_ELEVE    CHARACTER*1
TEMPORARY WMENU_TOLV     CHARACTER*1


HILITE INFORMATION AUDIBLE INVERSE


DRAW FROM 8,4 TO 20,32
ALIGN (,8,28)
SKIP TO LINE 10
FIELD WMENU_ET HIDDEN OMIT ID 1 LABEL "MENU 1"

SKIP TO LINE 12
FIELD WMENU_TO HIDDEN OMIT ID 2 LABEL "MENU 2"

SKIP TO LINE 14
FIELD WMENU_TRE HIDDEN OMIT ID 3 LABEL "MENU 3"

SKIP TO LINE 16
FIELD WMENU_FIRE HIDDEN OMIT ID 4 LABEL "MENU 4"

SKIP TO LINE 18
FIELD WMENU_FEM HIDDEN OMIT ID 5 LABEL "MENU 5"


ALIGN (,53,73)
SKIP TO LINE 10
FIELD WMENU_SEKS HIDDEN OMIT ID 6 LABEL "MENU 6"

SKIP TO LINE 12
FIELD WMENU_TI HIDDEN OMIT ID 10 LABEL "MENU 7"

SKIP TO LINE 14
FIELD WMENU_TRETTEN HIDDEN OMIT ID 11 LABEL "MENU 8"

SKIP TO LINE 16
FIELD WMENU_ELEVE HIDDEN OMIT ID 12 LABEL "MENU 9"

SKIP TO LINE 18
FIELD WMENU_TOLV HIDDEN OMIT ID 13 LABEL "MENU 10"



Kind Regards

Mikael Olesen
______________________
Mikael Olesen 
Analyst Programmer
Technical Services Department
Quadrant Subscription Services
Phone: 01444 445340
Email: mikael.olesen@qss-uk.com 



-----Original Message-----
From: Peter Bateman [mailto:pfbcs@hotmail.com] 
Sent: 15 July 2004 19:11
To: powerh-l@lists.sowder.com
Subject: RE: Can PowerHouse "catch" an arrow key stroke?



Hi Martijn Nabben:

You could try to remap the arrow key to be arrow key plus carriage return.
This would at least give you access to the occurence with the key stroke.

I am not sure but since your description field is outside the occuring 
cluster
you are seeing just the first. DESCRIPTION is a PowerHouse reserved word,
therefore to ensure that DESCRIPTION is referring to the data item I used
the % in front of the identifier.

You could create a define item

Define d_Desc character * 60 = %DESCRIPTION of FILE_A

Field d_Desc

Procedure designer 01
begin
   display FIELD_1
   display d_Desc
end

Regards,
Peter Bateman

_________________________________________________________________
Free yourself from those irritating pop-up ads with MSn Premium. Get 2months

FREE*  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=htt
p://hotmail.com/enca&HL=Market_MSNIS_Taglines



r============================ DISCLAIMER =============================
This message is intended only for the use of the person(s) 
(\"Intended Recipient\") to whom it is addressed. It may contain 
information, which is privileged and confidential. Accordingly 
any dissemination, distribution, copying or other use of this 
message or any of its content by any person other than the Intended 
Recipient may constitute a breach of civil or criminal law and is 
strictly prohibited. If you are not the Intended Recipient, please 
contact the sender as soon as possible.

Reed Business Information Ltd. and its subsidiary companies
Tel: +44 (0)20 8652 3500

======================================================================= 



------_=_NextPart_001_01C46B07.F1391690
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 5.5.2653.12">
<TITLE>RE: Can PowerHouse &quot;catch&quot; an arrow key stroke?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi</FONT>
</P>

<P><FONT SIZE=3D2>We used to have a start-up menu where we used the arrow k=
eys to move the cursor (high lighted menu text) and then you picked the men=
u hitting return:</FONT></P>

<P><FONT SIZE=3D2>Something like this:</FONT>
</P>

<P><FONT SIZE=3D2>SCREEN STARTUP.PH &amp;</FONT>
<BR><FONT SIZE=3D2>MENU &amp;</FONT>
<BR><FONT SIZE=3D2>NOMODE &amp;</FONT>
<BR><FONT SIZE=3D2>NOACTION &amp;</FONT>
<BR><FONT SIZE=3D2>FIELDMARK</FONT>
</P>

<P><FONT SIZE=3D2>TEMPORARY WMENU_ET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CH=
ARACTER*1</FONT>
<BR><FONT SIZE=3D2>TEMPORARY WMENU_TO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C=
HARACTER*1</FONT>
<BR><FONT SIZE=3D2>TEMPORARY WMENU_TRE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CHARAC=
TER*1</FONT>
<BR><FONT SIZE=3D2>TEMPORARY WMENU_FIRE&nbsp;&nbsp;&nbsp;&nbsp; CHARACTER*1=
</FONT>
<BR><FONT SIZE=3D2>TEMPORARY WMENU_FEM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CHARAC=
TER*1</FONT>
<BR><FONT SIZE=3D2>TEMPORARY WMENU_SEKS&nbsp;&nbsp;&nbsp;&nbsp; CHARACTER*1=
</FONT>
<BR><FONT SIZE=3D2>TEMPORARY WMENU_SYV&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CHARAC=
TER*1</FONT>
<BR><FONT SIZE=3D2>TEMPORARY WMENU_OTTE&nbsp;&nbsp;&nbsp;&nbsp; CHARACTER*1=
</FONT>
<BR><FONT SIZE=3D2>TEMPORARY WMENU_NI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C=
HARACTER*1</FONT>
<BR><FONT SIZE=3D2>TEMPORARY WMENU_TI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C=
HARACTER*1</FONT>
<BR><FONT SIZE=3D2>TEMPORARY WMENU_ELEVE&nbsp;&nbsp;&nbsp; CHARACTER*1</FON=
T>
<BR><FONT SIZE=3D2>TEMPORARY WMENU_TOLV&nbsp;&nbsp;&nbsp;&nbsp; CHARACTER*1=
</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>HILITE INFORMATION AUDIBLE INVERSE</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>DRAW FROM 8,4 TO 20,32</FONT>
<BR><FONT SIZE=3D2>ALIGN (,8,28)</FONT>
<BR><FONT SIZE=3D2>SKIP TO LINE 10</FONT>
<BR><FONT SIZE=3D2>FIELD WMENU_ET HIDDEN OMIT ID 1 LABEL &quot;MENU 1&quot;=
</FONT>
</P>

<P><FONT SIZE=3D2>SKIP TO LINE 12</FONT>
<BR><FONT SIZE=3D2>FIELD WMENU_TO HIDDEN OMIT ID 2 LABEL &quot;MENU 2&quot;=
</FONT>
</P>

<P><FONT SIZE=3D2>SKIP TO LINE 14</FONT>
<BR><FONT SIZE=3D2>FIELD WMENU_TRE HIDDEN OMIT ID 3 LABEL &quot;MENU 3&quot=
;</FONT>
</P>

<P><FONT SIZE=3D2>SKIP TO LINE 16</FONT>
<BR><FONT SIZE=3D2>FIELD WMENU_FIRE HIDDEN OMIT ID 4 LABEL &quot;MENU 4&quo=
t;</FONT>
</P>

<P><FONT SIZE=3D2>SKIP TO LINE 18</FONT>
<BR><FONT SIZE=3D2>FIELD WMENU_FEM HIDDEN OMIT ID 5 LABEL &quot;MENU 5&quot=
;</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>ALIGN (,53,73)</FONT>
<BR><FONT SIZE=3D2>SKIP TO LINE 10</FONT>
<BR><FONT SIZE=3D2>FIELD WMENU_SEKS HIDDEN OMIT ID 6 LABEL &quot;MENU 6&quo=
t;</FONT>
</P>

<P><FONT SIZE=3D2>SKIP TO LINE 12</FONT>
<BR><FONT SIZE=3D2>FIELD WMENU_TI HIDDEN OMIT ID 10 LABEL &quot;MENU 7&quot=
;</FONT>
</P>

<P><FONT SIZE=3D2>SKIP TO LINE 14</FONT>
<BR><FONT SIZE=3D2>FIELD WMENU_TRETTEN HIDDEN OMIT ID 11 LABEL &quot;MENU 8=
&quot;</FONT>
</P>

<P><FONT SIZE=3D2>SKIP TO LINE 16</FONT>
<BR><FONT SIZE=3D2>FIELD WMENU_ELEVE HIDDEN OMIT ID 12 LABEL &quot;MENU 9&q=
uot;</FONT>
</P>

<P><FONT SIZE=3D2>SKIP TO LINE 18</FONT>
<BR><FONT SIZE=3D2>FIELD WMENU_TOLV HIDDEN OMIT ID 13 LABEL &quot;MENU 10&q=
uot;</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>Kind Regards</FONT>
</P>

<P><FONT SIZE=3D2>Mikael Olesen</FONT>
<BR><FONT SIZE=3D2>______________________</FONT>
<BR><FONT SIZE=3D2>Mikael Olesen </FONT>
<BR><FONT SIZE=3D2>Analyst Programmer</FONT>
<BR><FONT SIZE=3D2>Technical Services Department</FONT>
<BR><FONT SIZE=3D2>Quadrant Subscription Services</FONT>
<BR><FONT SIZE=3D2>Phone: 01444 445340</FONT>
<BR><FONT SIZE=3D2>Email: mikael.olesen@qss-uk.com </FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Peter Bateman [<A HREF=3D"mailto:pfbcs@hotmail.com=
">mailto:pfbcs@hotmail.com</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: 15 July 2004 19:11</FONT>
<BR><FONT SIZE=3D2>To: powerh-l@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2>Subject: RE: Can PowerHouse &quot;catch&quot; an arrow k=
ey stroke?</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>Hi Martijn Nabben:</FONT>
</P>

<P><FONT SIZE=3D2>You could try to remap the arrow key to be arrow key plus=
 carriage return.</FONT>
<BR><FONT SIZE=3D2>This would at least give you access to the occurence wit=
h the key stroke.</FONT>
</P>

<P><FONT SIZE=3D2>I am not sure but since your description field is outside=
 the occuring </FONT>
<BR><FONT SIZE=3D2>cluster</FONT>
<BR><FONT SIZE=3D2>you are seeing just the first. DESCRIPTION is a PowerHou=
se reserved word,</FONT>
<BR><FONT SIZE=3D2>therefore to ensure that DESCRIPTION is referring to the=
 data item I used</FONT>
<BR><FONT SIZE=3D2>the % in front of the identifier.</FONT>
</P>

<P><FONT SIZE=3D2>You could create a define item</FONT>
</P>

<P><FONT SIZE=3D2>Define d_Desc character * 60 =3D %DESCRIPTION of FILE_A</=
FONT>
</P>

<P><FONT SIZE=3D2>Field d_Desc</FONT>
</P>

<P><FONT SIZE=3D2>Procedure designer 01</FONT>
<BR><FONT SIZE=3D2>begin</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; display FIELD_1</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; display d_Desc</FONT>
<BR><FONT SIZE=3D2>end</FONT>
</P>

<P><FONT SIZE=3D2>Regards,</FONT>
<BR><FONT SIZE=3D2>Peter Bateman</FONT>
</P>

<P><FONT SIZE=3D2>_________________________________________________________=
________</FONT>
<BR><FONT SIZE=3D2>Free yourself from those irritating pop-up ads with MSn =
Premium. Get 2months </FONT>
<BR><FONT SIZE=3D2>FREE*&nbsp; </FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://join.msn.com/?pgmarket=3Den-ca&page=3D=
byoa/prem&xAPID=3D1994&DI=3D1034&SU=3Dhttp://hotmail.com/enca&HL=3DMarket_M=
SNIS_Taglines" TARGET=3D"_blank">http://join.msn.com/?pgmarket=3Den-ca&page=
=3Dbyoa/prem&xAPID=3D1994&DI=3D1034&SU=3Dhttp://hotmail.com/enca&HL=3DMarke=
t_MSNIS_Taglines</A></FONT></P>

<FONT SIZE=3D3><BR>
<BR>
r=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D DISCLAIMER =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>
This message is intended only for the use of the person(s) <BR>
(\"Intended Recipient\") to whom it is addressed. It may contain <BR>
information, which is privileged and confidential. Accordingly <BR>
any dissemination, distribution, copying or other use of this <BR>
message or any of its content by any person other than the Intended <BR>
Recipient may constitute a breach of civil or criminal law and is <BR>
strictly prohibited. If you are not the Intended Recipient, please <BR>
contact the sender as soon as possible.<BR>
<BR>
Reed Business Information Ltd. and its subsidiary companies<BR>
Tel: +44 (0)20 8652 3500<BR>
<BR>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D <BR>
<BR>
</FONT>
</BODY>
</HTML>
------_=_NextPart_001_01C46B07.F1391690--