Hi,

I had the exact same problem with a TDBGrid and a TFrame. At design time all
was ok until I ran the project. The frames width and height values would be
several thousand each - which caused painfully slow OnDraw events. I put it
down to some sort of quirk/bug?

Our fix was to add a method to the frame to make sure that the grid was the
correct size before the frame was shown.

Cheers
Andrew.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Mark Derricutt
Sent: Tuesday, 28 August 2001 10:17 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Strange anchors...


'lo - got a strange anchor problem with a control on a tabsheet.

I have a DBMemo control in a pagecontrol/tabsheet  have it anchor'd to
left/top/right/bottom and it all looks sweet and resizes fine *when* the
tabsheet is visible at compile time.  But if I select another tabsheet and
compile/run, the DBMemo is appearing sized off the screen...

Does anyone have any ideas why this might happen?

--
Vi de udødelige inviterer dere til å slå dere sammen med oss

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to