Bug in TGet

Post Reply
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Bug in TGet

Post 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
User avatar
gkuhnert
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands
Contact:

Re: Bug in TGet

Post 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?
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
Post Reply