How to Catch VK_LEFT / VK_RIGHT IN oBrw:bKeyDown Event ?

Post Reply
shri_fwh
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

How to Catch VK_LEFT / VK_RIGHT IN oBrw:bKeyDown Event ?

Post by shri_fwh »

Dear Rao Sir ,

I want to catch the event of pressing LEFT , RIGHT button in either oBrw:bKeydown OR oBrw:bKeyChar to SET FOCUS to another Control. Could you please guide me for the same. Thanks in advance...!

something like this :

Code: Select all

  oBrwTAsset:bKeyChar := < | nKey, nFlags, oBrw, oCol |

                if ( nKey == VK_RIGHT .OR. nKey == VK_LEFT   )
                  oBrwTLib:SetFocus() 
                endif


              RETURN nil
       > 


 
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: How to Catch VK_LEFT / VK_RIGHT IN oBrw:bKeyDown Event ?

Post by nageswaragunupudi »

Not possible, unless you modify xbrowse code yourself.
Regards

G. N. Rao.
Hyderabad, India
Post Reply