A message in xBrowse => keys : left, right,up and down ??

A message in xBrowse => keys : left, right,up and down ??

Postby ukoenig » Mon Jan 21, 2008 12:20 pm

Hello from Germany,

I used < bKeydown > and < bKeychar > in xBrowse
to get a keycode for the keys : LEFT, RIGHT, UP, DOWN
but it only works with < normal > keys like
13 = RETURN and so on.
Is it possible somehow, to get a information, when
i press one of these keys in xBrowse ?

I want to start a special action.
sample : cursor-pos = end of array (eof() ).
I press the key < DOWN > and append a new
array-element.
For that i must know, that < DOWN > was pressed.

Thank you :lol:
U. König
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby nageswaragunupudi » Mon Jan 21, 2008 2:48 pm

Please use the codeblock oBrw:bPastEof for this purpse. Example:
Code: Select all  Expand view  RUN

   oBrw:bPastEof  := {||if( MsgNoYes( 'Add Row?' ), ;
            ( AAdd( oBrw:aArrayData, ATail( oBrw:aArrayData ) ), oBrw:GoBottom()), nil )}
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10645
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Otto » Mon Jan 21, 2008 7:15 pm

Hello Uwe,
maybe you have the same problem I had:

http://fivetechsoft.com/forums/viewtopi ... light=vkey
Regards,
Otto
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 59 guests