Page 1 of 1

xBrowse and national characters - bKeyChar method

Posted: Thu Dec 27, 2007 4:08 pm
by Robert Frank
We have in Poland few signs of alphabet more then in English language.
To put it on qwerty keyboard we have to press ALT+letter simmilar to wanted char.

example:
ALT+A = Ą (ASCII 165)

In TSBrowse I used bKeyChar method
oBRWR:bKeyChar:={|nKEY,nFLAG| JAKIRRCHAR(nKEY,nFLAG) }

Method bKeyDown always have returned 65
Method bKeyChar returned 165

I tried to use bKeyChar with xBrowse, but for me it doesn't work.

Is this possible to use this method with xBrowse?

Regards
Robert

Posted: Thu Dec 27, 2007 7:32 pm
by Antonio Linares
Robert,

CLASS TXBrowse is not processing bKeyChar, you may need to include it:

Code: Select all

METHOD KeyChar( nKey ) CLASS TXBrowse

   if ::bKeyChar != nil
      Eval( ::bKeyChar, nKey, nFlags )
   endif
 
   ...

Posted: Thu Dec 27, 2007 8:08 pm
by Robert Frank
Antonio
I don't like to think about it every new version.
Is it possible to put it permanently to next version of xBrowse and FWH?

January is close to us :))))

Robert

Posted: Thu Dec 27, 2007 8:11 pm
by Antonio Linares
Robert,

Yes, we already included it for FWH 8.01 :-)

Posted: Thu Dec 27, 2007 8:23 pm
by Robert Frank
Thank You

Robert