I�ve got a problem with a CField control, it�s a non editable control and I
write it by code using DDX_Text funcion I�m calling the form wich contain
the field in a modal way.  When I close it the text of the cfield remains in
the screen.  So I see it in the calling form.   Why?? I�ve got several other
CFields in the same form and I use them the same way and I have no problem
with them.

   CField txtCreditoDisponible;
   txtCreditoDisponible.Attach
(frmDetalleImportePedido_txtCreditoDisponible);

   CString temp;
   temp="$ ";
 
temp+=FloatATexto(fltCreditoOriginal-(fltAcumPrecioBase+fltAcumPrecioImpuest
os-fltAcumBonificacion-fltAcumDescuento+fltAcumIVA+fltAcumIVAAdicional) ,2);
   DDX_Text(&txtCreditoDisponible,temp,DDX_DataToControl);    
   txtCreditoDisponible.DrawField();

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to