Recent

Author Topic: LazReport : frRoundRectObject -> Property stretched does not work ?  (Read 4154 times)

zacheus

  • New Member
  • *
  • Posts: 18
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

  • Sr. Member
  • ****
  • Posts: 484
Re: LazReport : frRoundRectObject -> Property stretched does not work ?
« Reply #1 on: March 20, 2012, 10:55:28 pm »
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

  • New Member
  • *
  • Posts: 18
Re: LazReport : frRoundRectObject -> Property stretched does not work ?
« Reply #2 on: March 22, 2012, 03:58:56 pm »
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
« Last Edit: March 23, 2012, 09:39:09 pm by zacheus »

 

TinyPortal © 2005-2018