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

Post Reply
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

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

Post by ukoenig »

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
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

Please use the codeblock oBrw:bPastEof for this purpse. Example:

Code: Select all


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

G. N. Rao.
Hyderabad, India
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post by Otto »

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

http://fivetechsoft.com/forums/viewtopi ... light=vkey
Regards,
Otto
Post Reply