|
From: Itamar M. L. J. L. <ita...@gm...> - 2018-09-01 19:48:30
|
Hi!
Problem 1)
See this fragment of code.
...
oBrw:bOther := {|oBrw, msg, wParam, lParam| fKeyDown(oBrw, msg,
wParam, lParam)}
...
Static FUNCTION fKeyDown(oBrw, msg, wParam, lParam)
LOCAL nKEY := hwg_PtrToUlong( wParam ) //wParam
HWG_MSGINFO(hb_valtoexp(msg) + " - " + hb_valtoexp(wParam) + " - " +
hb_valtoexp(lParam) )
On Windows OS return for exemple "8 - <pointer> - <pointer>"
On Linux OS return "512 - 0 - 17891743"
The method bOTher not capture none key press only movement of mouse.
Problem 2)
And if I use on:
Add column FieldBlock("digit") to oBrw Header 'Código' //Accent letter ó
The browse show in HEADER the content of FIELD DBF :(
Add column FieldBlock("digit") to oBrw Header 'Codigo' //Run ok! Head
with not accent.
Best regards,
Itamar M. Lins Jr.
|