Page 1 of 1

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

Posted: Mon Oct 21, 2019 7:57 am
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
       > 


 

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

Posted: Mon Oct 21, 2019 8:09 am
by nageswaragunupudi
Not possible, unless you modify xbrowse code yourself.