Page 4 of 9

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Sat Nov 18, 2023 7:14 am
by Horizon
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.

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Sat Nov 18, 2023 10:08 am
by nageswaragunupudi
Please give me a little more time.

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Sun Nov 19, 2023 6:03 pm
by nageswaragunupudi
Meanwhile, can you please let me know
1. What result you get for this statement?
Code: Select all  Expand view
? 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?

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Sun Nov 19, 2023 6:14 pm
by Horizon
nageswaragunupudi wrote:Meanwhile, can you please let me know
1. What result you get for this statement?
Code: Select all  Expand view
? 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" ).

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Thu Nov 23, 2023 7:30 pm
by Horizon
up

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Thu Nov 23, 2023 8:16 pm
by ertan
Hi again,

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

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Sat Nov 25, 2023 11:18 am
by nageswaragunupudi
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.

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Sat Nov 25, 2023 5:13 pm
by Horizon
Hi mr. Rao,

any change?

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Sat Nov 25, 2023 5:49 pm
by nageswaragunupudi
Yes, please wait a little

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Sun Dec 03, 2023 5:03 pm
by Horizon
I am waiting. :lol:

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Thu Dec 14, 2023 7:53 pm
by Horizon
up

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Tue Dec 26, 2023 5:55 pm
by Horizon
just a reminder

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Wed Dec 27, 2023 1:24 am
by nageswaragunupudi
Can you please help us by doing this small test?
Code: Select all  Expand view
#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. ?

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Wed Dec 27, 2023 1:27 am
by nageswaragunupudi
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?

Re: Fwh 23.10 TGet another problem (UNSOLVED)

PostPosted: Wed Dec 27, 2023 7:47 am
by Horizon
nageswaragunupudi wrote:Can you please help us by doing this small test?
Code: Select all  Expand view
#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.