TGet no limpia bien caracteres en mayusculas.

TGet no limpia bien caracteres en mayusculas.

Postby Ariel » Wed Apr 10, 2019 2:13 pm

buen dia,

usando el codigo :
Code: Select all  Expand view

      @ 110, 50 GET aTabla["101"] VAR aTabla["key1"] OF oWnd ;
            COLOR Rgb( 128, 128, 128 ), CLR_WHITE;
            CUEBANNER "Contraseña" PASSWORD SIZE 290, 40 PIXEL BOTTOMBORDER ;
            UPDATE;
            INFIELD INFONT oFontI INCLRTXT CLR_GRAY INCLRBORDER Rgb( 204, 204, 204 ) INCLRLINE CLR_RED DYNAMIC ;
            FONT oFontBtn ;
            PICTURE "@30"

 

al escribir y un dato y perder el foco quedan rastros del texto en MAYUSCULAS,

Solucion 1:
en la clase TGet.prg metodo PAINT() el texto :
Code: Select all  Expand view

         cText  := if( !Empty( ::cInCaption ), ::cInCaption, ;
                       if( !Empty( ::cCueText ), ::cCueText, "" ) ) + Space( 4 )
 

reemplazarlo por :
Code: Select all  Expand view

         cText  := if( !Empty( ::cInCaption ), ::cInCaption, ;
                       if( !Empty( ::cCueText ), ::cCueText, "" ) ) + Space( 8 )
 

seria bueno poder agregarlo en la proxima revision.
Gracias.
Ariel
 
Posts: 374
Joined: Wed Nov 29, 2006 1:51 pm
Location: Rosario - Argentina

Return to To do - WishList / Por hacer - Peticiones

Who is online

Users browsing this forum: No registered users and 21 guests