Fwh 23.10 TGet another problem (UNSOLVED)

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby Horizon » Sat Nov 18, 2023 7: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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby nageswaragunupudi » Sat Nov 18, 2023 10:08 am

Please give me a little more time.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby nageswaragunupudi » Sun Nov 19, 2023 6:03 pm

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?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby Horizon » Sun Nov 19, 2023 6:14 pm

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" ).
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby Horizon » Thu Nov 23, 2023 7:30 pm

up
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby ertan » Thu Nov 23, 2023 8:16 pm

Hi again,

Do you use tdatarow edit dialogs or your own dialogs or window?
User avatar
ertan
 
Posts: 24
Joined: Wed Jul 26, 2023 12:08 pm
Location: Istanbul, Turkiye

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby nageswaragunupudi » 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
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby Horizon » Sat Nov 25, 2023 5:13 pm

Hi mr. Rao,

any change?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby nageswaragunupudi » Sat Nov 25, 2023 5:49 pm

Yes, please wait a little
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby Horizon » Sun Dec 03, 2023 5:03 pm

I am waiting. :lol:
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby Horizon » Thu Dec 14, 2023 7:53 pm

up
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby Horizon » Tue Dec 26, 2023 5:55 pm

just a reminder
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby nageswaragunupudi » Wed Dec 27, 2023 1:24 am

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. ?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby nageswaragunupudi » Wed Dec 27, 2023 1: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
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Postby Horizon » Wed Dec 27, 2023 7:47 am

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.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 60 guests

cron