![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#14
|
|||
|
|||
|
asi quedo mi codigo ..
[codigo] 0501: begin // pedidos {Application.CreateForm(TFEntregas,FEntregas); Application.CreateForm(TFPedPresu,FPedPresu); Application.CreateForm(TFBusPed,FBusPed); Application.CreateForm(TFCargaRapida,FCargaRapida); Application.CreateForm(TFPediSeg,FPediSeg); Application.CreateForm(TFPedDetProd,FPedDetProd); Application.CreateForm(TFCompItems,FCompItems); Application.CreateForm(tform1,form1); Application.CreateForm(TFPedidos,FPedidos);} FPedidos := TFPedidos.create(nil); FEntregas := TFEntregas.create(nil); FPedPresu := TFPedPresu.create(nil); FBusPed := TFBusPed.create(nil); FCargaRapida:= TFCargaRapida.create(nil); FPediSeg := TFPediSeg.create(nil); FPedDetProd := TFPedDetProd.create(nil); FCompItems := TFCompItems.create(nil); with FPedidos do begin ShowModal; end; // if fDatos.TDatos.FieldByName('ALERTA_PRODUCTOS').asboolean then CargoAlertasProd; FreeandNil(FPedidos); FreeandNil(FEntregas); FreeandNil(FPedPresu); FreeandNil(FBusPed); FreeandNil(FCargaRapida); FreeandNil(FPediSeg); FreeandNil(FPedDetProd); FreeandNil(FCompItems); { FCompItems.free; FPedDetProd.Free; FPediSeg.Free; FCargaRapida.Free; FBusPed.Free; FPedPresu.Free; FEntregas.Free;} end; [/codigo] Lo que hago es entrar a Pedidos , luego a PedPresu y luego a CompImtems y comezar a salir de cada uno .. cuando llego a FreeandNil(FPedidos); da error si lo comento ..el error lo da el siguiente ...FreeandNil(FEntregas); Revise y en esos form no tengo FREE de ninguno de estos forms ... la verdad estoy .. gracias por tu Rta.. (voy a tratar de crear cada form en el momento que lo uso ..) porque la verdad ni idea por donde viene el problema.. |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Access Violation | Carliviris | Varios | 5 | 12-05-2006 19:21:45 |
| Access violation at .... | Perio | Varios | 5 | 07-02-2006 15:50:36 |
| access violation | chilenauta | Impresión | 15 | 15-12-2004 19:45:51 |
| Access Violation ..... | MADV01 | Varios | 2 | 24-03-2004 16:01:33 |
| Access violation | Giasl | Varios | 6 | 07-05-2003 12:35:51 |
|