FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse and national characters - bKeyChar method
Posts: 95
Joined: Fri Nov 23, 2007 04:43 AM
xBrowse and national characters - bKeyChar method
Posted: Thu Dec 27, 2007 04:08 PM

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

Robert Frank
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
xBrowse and national characters - bKeyChar method
Posted: Thu Dec 27, 2007 07:32 PM
Robert,

CLASS TXBrowse is not processing bKeyChar, you may need to include it:
METHOD KeyChar( nKey ) CLASS TXBrowse

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

Antonio Linares
www.fivetechsoft.com
Posts: 95
Joined: Fri Nov 23, 2007 04:43 AM
xBrowse and national characters - bKeyChar method
Posted: Thu Dec 27, 2007 08:08 PM

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

Robert Frank
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
xBrowse and national characters - bKeyChar method
Posted: Thu Dec 27, 2007 08:11 PM

Robert,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 95
Joined: Fri Nov 23, 2007 04:43 AM
xBrowse and national characters - bKeyChar method
Posted: Thu Dec 27, 2007 08:23 PM

Thank You

Robert

Robert Frank

Continue the discussion