Forum > LazReport

LazReport : frRoundRectObject -> Property stretched does not work ?

(1/1)

zacheus:
Hello,

•Detail Data Band (Band 1)
Stretched = true
•Round Rect1 (frRoundRectObject) -->[frOBSERVATIONS]
WordWrap = true
Stretched = true
Autosize = false

procedure TForm1.frReport1GetValue(const ParName: String; var ParValue: Variant);
begin
 if ParName = 'frOBSERVATIONS' then
  if mmDESCRIP.Lines.Count = 0 then
   ParValue := 'Observations : Néant'
  else
   ParValue := mmDESCRIP.Text; 

It does not work (no stretched). Is it a bug ?
Regards. Zacheus

jesusr:
What lazarus revision?.

Recently we fixed a bug in LazReport where the text didn't get stretched sometimes, if you can please try a Lazarus revision newer than 36041 (or try this patch in your Lazarus copy: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/components/lazreport/source/lr_class.pas?r1=36041&r2=36040&pathrev=36041&root=lazarus&view=patch

If that doesn't fix the problem, feel free to submit a bug report with a sample project and report.

zacheus:
Hello,

In Lazarus-0.9.31-36187-fpc-2.6.1-20120321-win32 , it's better but still buggy.

Please have a look at http://bugs.freepascal.org/view.php?id=21533
 
Regards. Zacheus

Navigation

[0] Message Index

Go to full version