xBrowse and national characters - bKeyChar method

xBrowse and national characters - bKeyChar method

Postby Robert Frank » Thu Dec 27, 2007 4: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
User avatar
Robert Frank
 
Posts: 95
Joined: Fri Nov 23, 2007 4:43 am
Location: Gdynia-Poland

Postby Antonio Linares » Thu Dec 27, 2007 7:32 pm

Robert,

CLASS TXBrowse is not processing bKeyChar, you may need to include it:
Code: Select all  Expand view
METHOD KeyChar( nKey ) CLASS TXBrowse

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

   ...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Robert Frank » Thu Dec 27, 2007 8: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
User avatar
Robert Frank
 
Posts: 95
Joined: Fri Nov 23, 2007 4:43 am
Location: Gdynia-Poland

Postby Antonio Linares » Thu Dec 27, 2007 8:11 pm

Robert,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Robert Frank » Thu Dec 27, 2007 8:23 pm

Thank You

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 71 guests