Ver Mensaje Individual
  #1  
Antiguo 27-01-2004
ingel ingel is offline
Miembro
 
Registrado: jun 2003
Posts: 239
Reputación: 21
ingel Va por buen camino
Pasarle un parameto al With ...???

Hola ... despues de hoy prometo no escribir por unos dias ...

Segun una var creo un form u otro y tengo un with que es igual para los 2
como se lo indico?

if lApaisada then Application.CreateForm(TFImpOcapa, FImpOcApa)
else Application.CreateForm(TFImpOc, FImpOc);

with FImpOcapa do begin
( o FImpOc )
....
end;

puedo hacer un procedimiento que reciba un form y escribir dentro lo del with o hay algo mas simple ...?

Gracias mil
Responder Con Cita