Oigan, ya se que esta pregunta no es de este hilo, pero me salio un EStackOverflor, y no se porque, les pongo mi codigo:
Código Delphi
[-]
unit reporte_runtime;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
QuickRpt, ExtCtrls,QRCTRLS, db;
type
TForm1 = class(TForm)
QuickRep1: TQuickRep;
QRBand1: TQRBand;
QRBand2: TQRBand;
procedure FormCreate(Sender: TObject);
private
public
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.FormCreate(Sender: TObject);
var
i : integer;
c : TQRlabel;
begin
c.Top := 10;
c.Left := 10;
c.Name := 'label';
c.Caption := 'label1';
c.parent := QRBand1;
c := tQRlabel.Create(Self);
c.Top := 10;
c.Left := 50;
c.Name := 'lll';
c.Caption := 'prueba';
c.parent := QRBand1; <<------ aqui es donde me marca el desbordado de pila
quickrep1.Preview;
c.free;
end;
end.
Error : Project reporte.exe raised exception class EStackOverflow with message
"Stack overflow". Proccess stopped.
Gracias.
Si alguien tiene las ganas y el tiempo necesario para darle una revisadilla se los agradeceria.
Cómo te siente hoy?