xBrowse and national characters - bKeyChar method

Post Reply
User avatar
Robert Frank
Posts: 95
Joined: Fri Nov 23, 2007 4:43 am
Location: Gdynia-Poland
Contact:

xBrowse and national characters - bKeyChar method

Post 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
Robert Frank
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
 
   ...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Robert Frank
Posts: 95
Joined: Fri Nov 23, 2007 4:43 am
Location: Gdynia-Poland
Contact:

Post 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
Robert Frank
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Robert,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Robert Frank
Posts: 95
Joined: Fri Nov 23, 2007 4:43 am
Location: Gdynia-Poland
Contact:

Post by Robert Frank »

Thank You

Robert
Robert Frank
Post Reply