Page 1 of 1

Bug in TGet

PostPosted: Fri Aug 13, 2021 10:47 am
by Enrico Maria Giordano
In this sample, the size of the GET is very small:

Code: Select all  Expand view
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg

    LOCAL cVar := SPACE( 30 )

    FW_SETUNICODE( .T. )

    DEFINE DIALOG oDlg

    @ 1, 1 GET cVar

    ACTIVATE DIALOG oDlg;
             CENTER

    RETURN NIL


EMG

Re: Bug in TGet

PostPosted: Fri Aug 13, 2021 12:27 pm
by Antonio Linares
Enrico,

If you use:

LOCAL cVar := Replicate( "X", 30 )

would the shown width be correct ?

Re: Bug in TGet

PostPosted: Fri Aug 13, 2021 12:41 pm
by Enrico Maria Giordano
Yes, it is.

EMG