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

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

Postby shri_fwh » Mon Oct 21, 2019 7:57 am

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  Expand view  RUN

  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
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

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

Postby nageswaragunupudi » Mon Oct 21, 2019 8:09 am

Not possible, unless you modify xbrowse code yourself.
Regards

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 40 guests