Ver Mensaje Individual
  #2  
Antiguo 02-09-2004
Avatar de jachguate
jachguate jachguate is offline
Miembro
 
Registrado: may 2003
Ubicación: Guatemala
Posts: 6.254
Reputación: 27
jachguate Va por buen camino
Creo que vas por buen camino, pero no hace falta crear otra instancia de TIWEdit.

Simplemente un cast seguro.

Código Delphi [-]
Var
  edtValue : TIWEdit;

Begin
  For fila := 1 to grdLista.RowCount-1 do
    With grdLista do
      if assigned(cell[fila, ColumnCount-3].Control) Then
        DataModule.tblTabla1Campo3.Value := 
          (Cell[fila, ColumnCount - 3].Control as TIWEdit).Text;
      else
        DataModle.tblTabla1Campo3.Clear;
end;

Hasta luego.

__________________
Juan Antonio Castillo Hernández (jachguate)
Guía de Estilo | Etiqueta CODE | Búsca antes de preguntar | blog de jachguate
Responder Con Cita