Entrar
¿Nuevo usuario? Inscribirme
DesarrolloDelphi · Desarrollo de Software en Borland Delphi
? ¿Ya estás suscrito? Entra a Yahoo!

Consejos

¿Sabías que...?
Podés cambiar el orden de los mensajes. Simplemente hacé clic en el enlace de columna fecha. Tus preferencias se guardarán, por lo tanto no necesitarás hacerlo otra vez cuando vuelvas a entrar.

Mensajes

  Mensajes Ayuda
Avanzado
Re: [Delphi] Error al instanciar control   Lista de mensajes  
Responder | Reenviar Mensaje #2660 de 7332 |
Re: [Delphi] Error al instanciar control

Gracias Reinaldo, siempre quitandome lo bruto, jejeje

Salu2

TAC
----- Original Message -----
From: "Reinaldo Ernesto Gibert Arencibia" <rega.delphi@...>
To: "Delphi" <DesarrolloDelphi@...>
Sent: Tuesday, May 04, 2004 12:40 AM
Subject: Re: [Delphi] Error al instanciar control


> Hola TAC! Om Sai Ram!
>
> Proyecto modificado:
>
> constructor TMiPanel.Create(AOwner: TComponent);
> begin
> inherited Create(AOwner);
> Width := 500;
> Height := 200;
> FSubPanel := TPanel.Create(Self); // cambiada AOwner por Self. El
> contenedor de este subpanel es el Panel que acabas de crear.
> FSubPanel.Name := 'Subpanel';
> FSubPanel.Caption := 'Subpanel';
> FSubPanel.Parent := Self;
> FSubPanel.Width := 500;
> FSubPanel.Height := 100;
> end;
>
> destructor TMiPanel.Destroy;
> begin
> FSubPanel.Free; // agregada.
> inherited Destroy;
> end;
>
> Salu2, Rey
> ----- Original Message -----
> From: Tito Arrieta
> To: DesarrolloDelphi@...
> Sent: Tuesday, May 04, 2004 8:23 AM
> Subject: [Delphi] Error al instanciar control
>
>
> Amigos tengo este codigo (ver abajo), necesito crear un control que
tenga
> un
> panel dentro de otro panel, en tiempo de diseño lo hace sim problemas
pero
> cuando corro la aplicacion me sale el siguiente error:
>
> ---------------------------
> Debugger Exception Notification
> ---------------------------
> Project Project1.exe raised exception class EClassNotFound with message
> 'Class TPanel not found'. Process stopped. Use Step or Run to continue.
> ---------------------------
> OK Help
> ---------------------------
>
> que puedo hacer, hay alguna otra forma?
>
> Gracias
>
> TAC
>
> unit Panel1;
>
> interface
>
> uses
> SysUtils, Classes, Controls, ExtCtrls;
>
> type
> TPanel1 = class(TPanel)
> private
> FSubPanel : TPanel;
> { Private declarations }
> protected
> { Protected declarations }
> public
> constructor Create(AOWner: TComponent); override;
> destructor Destroy; override;
> { Public declarations }
> published
> { Published declarations }
> end;
>
> procedure Register;
>
> implementation
>
> constructor TPanel1.Create(AOwner: TComponent);
> begin
> inherited Create(AOWner);
> Width := 500;
> Height := 200;
> FSubPanel := TPanel.Create(AOWner);
> FSubPanel.Parent := Self;
> FSubPanel.Width := 500;
> FSubPanel.Height := 100;
> end;
>
> destructor TPanel1.Destroy;
> begin
> inherited Destroy;
> end;
>
> procedure Register;
> begin
> RegisterComponents('Prueba', [TPanel1]);
> end;
>
> end.
>
> Salu2
>
> TAC
>
>
>
> ------------------------------
> DesarrolloDelphi:
> Desarrollo de Software en Borland Delphi
> ------------------------------
> Direcciones de la lista:
> Publicar un mensaje: DesarrolloDelphi@...
> Suscribirse........: DesarrolloDelphi-Subscribe@...
> Desuscribirse......: DesarrolloDelphi-Unsubscribe@...
> Administrador......: DesarrolloDelphi-Owner@...
> Página de la lista.:
http://www.gruposyahoo.com.ar/group/DesarrolloDelphi
> ------------------------------
> Yahoo! Grupos Enlaces
>
> Para visitar tu grupo en Internet, vé a:
> http://ar.groups.yahoo.com/group/DesarrolloDelphi/
>
> Para cancelar tu suscripción a este grupo, enviá un mensaje a:
> DesarrolloDelphi-unsubscribe@...
>
> El uso de Yahoo! Grupos se rige por:
> http://ar.docs.yahoo.com/info/utos.html
>
>
>
> ------------------------------
> DesarrolloDelphi:
> Desarrollo de Software en Borland Delphi
> ------------------------------
> Direcciones de la lista:
> Publicar un mensaje: DesarrolloDelphi@...
> Suscribirse........: DesarrolloDelphi-Subscribe@...
> Desuscribirse......: DesarrolloDelphi-Unsubscribe@...
> Administrador......: DesarrolloDelphi-Owner@...
> Página de la lista.: http://www.gruposyahoo.com.ar/group/DesarrolloDelphi
> ------------------------------
> Yahoo! Grupos Enlaces
>
> Para visitar tu grupo en Internet, vé a:
> http://ar.groups.yahoo.com/group/DesarrolloDelphi/
>
> Para cancelar tu suscripción a este grupo, enviá un mensaje a:
> DesarrolloDelphi-unsubscribe@...
>
> El uso de Yahoo! Grupos se rige por:
> http://ar.docs.yahoo.com/info/utos.html
>
>




Mar, 4 de May, 2004 7:32 pm

tarrieta@...
Enviar correo Enviar correo

Reenviar Mensaje #2660 de 7332 |
Desplegar mensajes Autor Ordenar por fecha

Hola TAC! Om Sai Ram! Proyecto modificado: constructor TMiPanel.Create(AOwner: TComponent); begin inherited Create(AOwner); Width := 500; Height := 200; ...
Reinaldo Ernesto Gibe...
rega.delphi@...
Enviar correo
4 de May, 2004
4:37 pm

Gracias Reinaldo, siempre quitandome lo bruto, jejeje Salu2 TAC ... From: "Reinaldo Ernesto Gibert Arencibia" <rega.delphi@...> To: "Delphi"...
Tito Arrieta
tarrieta@...
Enviar correo
4 de May, 2004
8:11 pm
Avanzado

Copyright © 2009 Yahoo! de Argentina S.R.L. Todos los derechos reservados.
Política de privacidad - Condiciones del Servicio - Reglas de la comunidad de Yahoo! - Ayuda