Bug in TGet

Post Reply
User avatar
Enrico Maria Giordano
Posts: 8775
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 7 times
Contact:

Bug in TGet

Post by Enrico Maria Giordano »

In this sample, the size of the GET is very small:

Code: Select all | Expand

#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
User avatar
Antonio Linares
Site Admin
Posts: 42715
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 93 times
Been thanked: 103 times
Contact:

Re: Bug in TGet

Post by Antonio Linares »

Enrico,

If you use:

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

would the shown width be correct ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply