lblNewLabel.Parent := bndDetail;  ?????

Wes Edwards
Quality Assurance Manager
CommSoft Group Limited
[EMAIL PROTECTED]


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Tony Sinclair
> Sent: Tuesday, 6 July 1999 10:55
> To: Multiple recipients of list delphi
> Subject: [DUG]: New Control Display
> 
> 
> Back again,
> 
> I am wondering as to how I get a label that I create at run -time to
> display itself on a QuickReport band? So far I have...
> 
>       //lblNewLabel := TQRLabel.CreateParented(bndDetail.Handle);
>       lblNewLabel := TQRLabel.Create(bndDetail);
>       lblNewLabel.Left := 20;
>       lblNewLabel.Top := 20;
>       lblNewLabel.Width := 50;
>       lblNewLabel.Caption := 'Hello';
>       lblNewLabel.Visible := True;
> 
> but the control is not displayed when the report is displayed.  The
> detail part of the band is being displayed as there are other records
> begin displayed.  Refresh or repaint doesn't do much either.  Probably
> missing something quite simple :)
> 
> Thanks in advance
> 
> --
> 
> 
> Tony Sinclair
> Holliday Group Limited
> Christchurch
> New Zealand
> 
> 
> --------------------------------------------------------------
> -------------
>     New Zealand Delphi Users group - Delphi List - 
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> 
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to