picture @Z

Post Reply
zazibr
Posts: 71
Joined: Mon Jan 28, 2008 11:18 am
Location: Campo Grande,MS, BRASIL

picture @Z

Post 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]
Daniel Lopes Filho - Campo Grande,MS,Brasil
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6693) + gtwvw + fw 10.2 + vsx e
fw pcc (ainda não usei)
msn : zazibr@hotmail.com
Post Reply