xbrowse, bkeydown and number

Post Reply
JoséQuintas
Posts: 55
Joined: Tue Feb 09, 2021 4:20 pm

xbrowse, bkeydown and number

Post by JoséQuintas »

Code: Select all | Expand

      :bKeyDown := { | nKey | FWBrowseKey( xDlg, xControl, nKey, ... ) }

Code: Select all | Expand

   CASE IsRange( nKey, 32, 127 ) 
      cFilter += Upper( Chr( nKey ) )
If type letters ok
if type numbers from normal keyboard ok
if type numbers from numeric keyboard not
What to do about this?
User avatar
nageswaragunupudi
Posts: 10701
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 3 times
Contact:

Re: xbrowse, bkeydown and number

Post by nageswaragunupudi »

Advised to use oBrw:bKeyChar( .. ) instead of oBrw:KeyDown(..)
Browse or any control/window.
Regards

G. N. Rao.
Hyderabad, India
Post Reply