Page 1 of 1

Bug in TGet

Posted: Fri Jun 24, 2011 6:36 pm
by Enrico Maria Giordano
In the following sample, please click on the second get and you will see the caret placed on the next digit and not on the clicked digit.

Code: Select all

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg

    LOCAL cVar := SPACE( 30 )
    LOCAL nVar := 0

    DEFINE DIALOG oDlg

    @ 1, 1 GET cVar

    @ 3, 1 GET nVar;
           PICTURE "@EZ 999,999.99";
           RIGHT

    ACTIVATE DIALOG oDlg;
             CENTER

    RETURN NIL
EMG

Re: Bug in TGet

Posted: Tue Jul 05, 2011 9:26 am
by gkuhnert
EMG,

that obviously only happens if the 2nd get doesn't have the focus. As soon as it has the focus everything is OK. So maybe it has something to do what happens if the get gets the focus?

Re: Bug in TGet

Posted: Tue Jul 05, 2011 9:30 am
by Enrico Maria Giordano
Yes, it happens when you click on the second GET.

EMG