[Lazarus] New AutoSize issue

faber faber.cpu at gmail.com
Thu May 20 18:22:45 CEST 2010


I wonder the bad sequence (order):
my code
 debugln('set sr1 to visible true');
   SR1.Visible:=true;
   SG1.Visible:=false;
   if Assigned(SR1) AND SR1.Visible then begin
      OptsR.Parent:=SR1;
      OptsR.Top:=1;
      OptsR.Left:=11;
      OptsR.ArrowType:=atDown;
      OptsR.Height:=19;
      OptsR.Width:=19;
      OptsR.Visible:=true;
   end;
   StopA.Visible:=false;

and debug:
   hide StopA
   debugln('set sr1 to visible true');
   hide :TStringGrid1 --- SG1 ?
   debug from onresize
   show Arrow
   show SR1


why show SR1 is on the end ? In code I set SR1 to visible at the beginning.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100520/39c84d00/attachment-0004.html>


More information about the Lazarus mailing list