Page 1 of 1

Space Key on FW_SetUnicode(.T.)

PostPosted: Thu Sep 03, 2020 1:52 pm
by Mulyadi
Good evening Mr Rao,

I am using FWH version 20.07.
if I use FW_Setunicode (.T.) then the space key does not run normally on variable reading
@ x, y get oGet xvar of oDlg picture '@!' ..., but it works fine with the xbrowse EDIT_GET command

this is only a small example, actually I use a fairly complex program:
Code: Select all  Expand view

    #include "fivewin.ch"

    function Main()

       local oDlg
       local oCode, oDesc, cCode := space(10), cDesc := space(100)

       FW_SetUnicode( .T. )      // <----- problem here
                                 // if .F., the space key is running normally

       DEFINE DIALOG oDlg size 400, 200 pixel title "test read" ;
       STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_THICKFRAME ) ;
            COLOR CLR_WHITE, CLR_CYAN
 
         @ 10, 5 SAY "CODE:"   OF oDlg size 30, 12 pixel transparent  
         @ 25, 5 SAY "DESC:"   OF oDlg size 30, 12 pixel transparent

         @ 10,35 get oCode var cCode of oDlg size 70, 12 pixel
         @ 25,35 get oDesc var cDesc of oDlg size 100, 12 pixel

         @ 60,40 BUTTON "OK" SIZE 50,12 PIXEL OF oDlg

       ACTIVATE DIALOG oDlg CENTERED

    return nil
     
 



Best regards

Mulyadi

Re: Space Key on FW_SetUnicode(.T.)

PostPosted: Thu Sep 03, 2020 3:43 pm
by nageswaragunupudi
We are looking into this issue

Re: Space Key on FW_SetUnicode(.T.)

PostPosted: Fri Sep 04, 2020 3:14 am
by ssbbs

Re: Space Key on FW_SetUnicode(.T.)

PostPosted: Fri Sep 04, 2020 4:24 am
by nageswaragunupudi
mr. ssbbs

What is the version of FWH you used for this sample?

Re: Space Key on FW_SetUnicode(.T.)

PostPosted: Fri Sep 04, 2020 2:12 pm
by ssbbs
fwh 20.04

Re: Space Key on FW_SetUnicode(.T.)

PostPosted: Fri Sep 11, 2020 3:41 am
by nageswaragunupudi
I have been testing this issue with previous versions. Till FWH1912, it is working correctly just like the anim-gif posted by Mr. ssbbs. But I see the problem in all versions from FWH2002 onwards. In fact I am surprised to see it working correctly for Mr. ssbbs with FWH2004. Here I experience the problem with FWH2004 also.

Now we revised tget.prg and testing the program.

We would be glad if you can test the revised tget.prg and offer your comments.

My email address is:
nageswaragunupudi [at ] gmail [dot] com.

If you send email to this address, we will send you the revised tget.prg for testing and comments.

Re: Space Key on FW_SetUnicode(.T.)

PostPosted: Fri Sep 11, 2020 4:46 am
by ssbbs
because I have modify.
and fwh 1912 have other bug.

demo code:
Code: Select all  Expand view

cISBN:=Space(13)
@ 10,10 GET cISBN OF oDlg;
             PICTURE "@! 9999999999999"
 


if you copy data is 13 of length from excel and like '9789573326861',
paste to the cISBN is '978957' not all '9789573326861'.

Re: Space Key on FW_SetUnicode(.T.)

PostPosted: Fri Sep 11, 2020 4:48 am
by ssbbs
and bug2:
you can't use keyboard [shift+left] or [shift+right] to select data.

Re: Space Key on FW_SetUnicode(.T.)

PostPosted: Fri Sep 11, 2020 6:41 am
by nageswaragunupudi
Thanks. We will look into these bugs also

Re: Space Key on FW_SetUnicode(.T.)

PostPosted: Fri Sep 11, 2020 7:54 am
by nageswaragunupudi
Checked.
Paste is working correctly.
Shift-Right and Shift-left keys are selecting the text as expected.

Thanks for pointing out.

Re: Space Key on FW_SetUnicode(.T.)

PostPosted: Fri Sep 11, 2020 9:28 am
by nageswaragunupudi
All these fixes are included in FWH2008.

Re: Space Key on FW_SetUnicode(.T.)

PostPosted: Sat Sep 12, 2020 7:33 am
by Mulyadi
And I don't have the license for 20.08 anymore because the last version is 20.07.

Re: Space Key on FW_SetUnicode(.T.)

PostPosted: Sat Sep 12, 2020 8:33 am
by nageswaragunupudi
Mulyadi wrote:And I don't have the license for 20.08 anymore because the last version is 20.07.

Please give me your email.
or write to my email
nageswaragunupudi [at ] gmail [dot] com.

May we also know what for are you programming in Unicode? for what languages?

Re: Space Key on FW_SetUnicode(.T.)

PostPosted: Sat Sep 12, 2020 2:48 pm
by Mulyadi
Thank you and I've emailed you.

Best regards

Mulyadi.