Quickreport forum
Go to Quickreport website
Welcome Guest Search | Active Topics | Log In | Register

Bug in TQRBand with Color + TQRLabel with Color
#1 Posted : 21 October 2016 19:19:16(UTC)
Rank: Member

Groups: Registered
Joined: 21/07/2016(UTC)
Posts: 12
Location: São Paulo

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
A color property do not TQRBand fills a line restructures when a component as TQRLabel do line break with AutoStrech = True. Example below:

- Put a TQRBand
- Change the Color property for the clMedGray QRBand (QRBand1.color = clMedGray)
- Put a TQRLabel on this TQRBand
- Change the property TQRLabel to true's AutoStretch (QRLabel1.AutoStretch = True)
- Fill in the Caption property of the TQRLabel at runtime with two lines. Example:
QRLabel1.Caption = 'Linha 1' + sLineBreak + 'Line 2';
- Run the report

The second line of the QRBand is blank and not in gray.

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Clean Slate theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.029 seconds.