xbrowse, bkeydown and number

Post Reply
JoséQuintas
Posts: 56
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?
José M. C. Quintas Brazil
gtwvg, fivewin 24.10 mt, hwgui, mingw 15.0 rc (32 bits)
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