Page 1 of 1

picture @Z

Posted: Sun Jun 06, 2010 12:17 pm
by zazibr
why the picture does not work "@Z" fields get? only works with the transform( function

this also applies to date fields

sample
======


local nCodigo := 0
local onCodigo

transform( nCodigo , '@Z 9999' )

Code: Select all

   REDEFINE GET onCodigo           VAR nCodigo         ID 107   ;
            OF oCadFornecedor                                 ;
            PICTURE "999"                                     ; 
            FONT oFonteGets
  
* should appear empty field, only that it does not happen

******* funciona assim
******* works well

txtCodigoReduzido := Transform( nI_Seq , '@Z@R 999 999' )
REDEFINE SAY otxtCodigoReduzido                      ;
         VAR  txtCodigoReduzido                      ;
         ID 145                                 ;
         OF oFolder:aDialogs[1]                 ;         
         COLOR CLR_HRED, nRGB( 255, 255, 202 )    ;
         FONT oFonteGets      
*******
*******
******* 
 

[img]
http://www.lopes.ms/fw/teste_@Z.PNG
[/img]