como criar um shape em tempo de execução
Alguém sabe como criar um shape em modo de execução no quick report, dinamicamente etc.
:cry: :cry: :cry: :cry: :cry:
:cry: :cry: :cry: :cry: :cry:
Celi
Curtidas 0
Respostas
Carnette
19/02/2003
Por sus insistencia voce merece...no evento BEFOREPRINT do quireport voce coloca o seguinte
procedure TQrp_Form2.QuickRepBeforePrint(Sender: TCustomQuickRep;
var PrintReport: Boolean);
var
qShape : TQrShape;
begin
qShape := TQrShape.Create(self);
qShape.Parent := QRBand1;
qShape.Top := 2;
qShape.Left := 2;
qShape.Width := 20;
qShape.Height :=20;
end;
procedure TQrp_Form2.QuickRepBeforePrint(Sender: TCustomQuickRep;
var PrintReport: Boolean);
var
qShape : TQrShape;
begin
qShape := TQrShape.Create(self);
qShape.Parent := QRBand1;
qShape.Top := 2;
qShape.Left := 2;
qShape.Width := 20;
qShape.Height :=20;
end;
GOSTEI 0