FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Fwh 23.10 TGet another problem (SOLVED)
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Sat Nov 18, 2023 07:14 AM

Hi Mr. Rao, Antonio,

I think I spoke too soon. Even though I defined FW_Unicode(.f.) at the beginning of my application, when I press "Ğ" in the GET field, it looks correct, but the unicode comes to the variable as CHR(196)+CHR(158). This doesn't work for me. After each Get field, I have to deal with thousands of GET fields to convert from Unicode to Ansi.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Sat Nov 18, 2023 10:08 AM

Please give me a little more time.

Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Sun Nov 19, 2023 06:03 PM
Meanwhile, can you please let me know
1. What result you get for this statement?
Code (fw): Select all Collapse
? STRTOHEX( AnsiToWide( Chr(208) ) )
2. Do you always set HB_CDPSELECT( "TRWIN" ) or some similar codepage in your application?
If so, what is the result of the 1st question before and after setting the codepage?
Regards



G. N. Rao.

Hyderabad, India
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Sun Nov 19, 2023 06:14 PM
nageswaragunupudi wrote:Meanwhile, can you please let me know
1. What result you get for this statement?
Code (fw): Select all Collapse
? STRTOHEX( AnsiToWide( Chr(208) ) )
2. Do you always set HB_CDPSELECT( "TRWIN" ) or some similar codepage in your application?
If so, what is the result of the 1st question before and after setting the codepage?
Hi Mr. Rao,

1. "1E01"
2. I always use HB_CDPSELECT( "TRWIN" ).
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Thu Nov 23, 2023 07:30 PM

up

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 61
Joined: Wed Jul 26, 2023 12:08 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Thu Nov 23, 2023 08:16 PM

Hi again,

Do you use tdatarow edit dialogs or your own dialogs or window?

Best regards,
Ertan,

ertan_ozturk@yahoo.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Sat Nov 25, 2023 11:18 AM
ertan wrote:Hi again,

Do you use tdatarow edit dialogs or your own dialogs or window?
That should not make any difference.
If you have problem with any one you will have problem with all others.
Regards



G. N. Rao.

Hyderabad, India
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Sat Nov 25, 2023 05:13 PM

Hi mr. Rao,

any change?

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Sat Nov 25, 2023 05:49 PM

Yes, please wait a little

Regards



G. N. Rao.

Hyderabad, India
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Sun Dec 03, 2023 05:03 PM
I am waiting. :lol:
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Thu Dec 14, 2023 07:53 PM

up

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Tue Dec 26, 2023 05:55 PM

just a reminder

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Wed Dec 27, 2023 01:24 AM
Can you please help us by doing this small test?
Code (fw): Select all Collapse
#include "fivewin.ch"

function Main()

   local oDlg, oGet
   local cVar  := PADR( "ABC", 15 )

   FW_SetUnicode( .f. )

   DEFINE DIALOG oDlg SIZE 300,150 PIXEL TRUEPIXEL

   @ 20,20 GET oGet  VAR cVar SIZE 200,24 PIXEL OF oDlg

   @ 90,20 BUTTON "OK" SIZE 100,40 PIXEL OF oDlg ;
      ACTION MsgInfo( IsWindowUnicode( oGet:hWnd ) )

   ACTIVATE DIALOG oDlg CENTERED

return nil
In this test, please click the button and let us know whether you get the result .T. or .F. ?
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Wed Dec 27, 2023 01:27 AM
ertan wrote:Hi again,

Do you use tdatarow edit dialogs or your own dialogs or window?
Can you please let us know (1) FWH version you are using? (2) Are you using FW_SetUnicode( .T. ), (3) Are you facing the same issues as Mr. Hakkan?
Regards



G. N. Rao.

Hyderabad, India
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Posted: Wed Dec 27, 2023 07:47 AM
nageswaragunupudi wrote:Can you please help us by doing this small test?
Code (fw): Select all Collapse
#include "fivewin.ch"

function Main()

   local oDlg, oGet
   local cVar  := PADR( "ABC", 15 )

   FW_SetUnicode( .f. )

   DEFINE DIALOG oDlg SIZE 300,150 PIXEL TRUEPIXEL

   @ 20,20 GET oGet  VAR cVar SIZE 200,24 PIXEL OF oDlg

   @ 90,20 BUTTON "OK" SIZE 100,40 PIXEL OF oDlg ;
      ACTION MsgInfo( IsWindowUnicode( oGet:hWnd ) )

   ACTIVATE DIALOG oDlg CENTERED

return nil
In this test, please click the button and let us know whether you get the result .T. or .F. ?
Hi Mr. Rao,

I have test both fwh 23.07 and fwh 23.10

The result is .F.
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06