FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Bugs report & fixes / Informe de errores y arreglos Bug in TGet
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in TGet
Posted: Fri Aug 13, 2021 10:47 AM
In this sample, the size of the GET is very small:

Code (fw): Select all Collapse
#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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Bug in TGet
Posted: Fri Aug 13, 2021 12:27 PM

Enrico,

If you use:

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

would the shown width be correct ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM

Continue the discussion