Ver Mensaje Individual
  #8  
Antiguo 14-12-2006
Mc_Hacks Mc_Hacks is offline
Miembro
 
Registrado: nov 2006
Posts: 11
Reputación: 0
Mc_Hacks Va por buen camino
gracias amigos he solucionado el problema a final use este codigo

Código Delphi [-]
procedure TwndPrincipal.ProduAgregaExecute(Sender: TObject);
begin
  wndAgregaArticulo := TwndAgregaArticulo.Create(Self);   
  wndAgregaArticulo.Show; 
end;

ya que el de Caral me da error

Código Delphi [-]
procedure TwndPrincipal.ProduAgregaExecute(Sender: TObject);
begin
   wndAgregaArticulo:=TwndAgregaArticulo.Create(self);
   try
    wndAgregaArticulo.ShowModal; // (error)
   finally
   wndAgregaArticulo.Free;
   end;
end;

lo que me faltaba era asociar el action en el item del mainmenu
muchas gracias por su ayuda se les agradece

Última edición por dec fecha: 15-12-2006 a las 00:04:34.
Responder Con Cita