FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Bugs report & fixes / Informe de errores y arreglos fwh712 btnget - tget.prg- bkeydown error
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
fwh712 btnget - tget.prg- bkeydown error
Posted: Sun Dec 02, 2007 05:18 AM

Hi,
Input chars to btnget, call from Tget.prg,

METHOD KeyDown( nKey, nFlags ) CLASS TGet

add the lines compare to v7.11
if ::bKeyDown != nil
if Eval( ::bKeyDown, nKey, nFlags, Self ) == 0 //Runtime Error description: Error BASE/1070 Argument error: ==
return 0
endif
endif

Best Regards!
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
fwh712 btnget - tget.prg- bkeydown error
Posted: Sun Dec 02, 2007 08:17 AM

Shuming,

You have to modify bKeyDown in BtnGet so it returns nil or a number

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
fwh712 btnget - tget.prg- bkeydown error
Posted: Sun Dec 02, 2007 09:20 AM

Antonio,
Done.
Thanks !
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651

Continue the discussion