Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-08

Auto scrollbar in forms, has the logic changed?

8 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luca Olivetti

With a recent svn (from last week) most of my forms acquired unwanted scrollbars.
I corrected the problem by making them a couple of pixels bigger (though that made the contained components slightly off-center), but what was changed to cause it?

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es

Reply by email

Mattias Gaertner
to Luca Olivetti
Show quoted text 5 lines
With a recent svn (from last week) most of my forms acquired unwanted scrollbars. I corrected the problem by making them a couple of pixels bigger (though that made the contained components slightly off-center), but what was changed to cause it?

FPC, Lazarus version? OS? Do you know the lazarus revision of the change?

Mattias

Reply by email

Vincent Snijders
to Luca Olivetti: With a recent svn (from last week) most of my forms acquired unwanted scrollbars. I…
Luca Olivetti wrote 5 lines
With a recent svn (from last week) most of my forms acquired unwanted scrollbars. I corrected the problem by making them a couple of pixels bigger (though that made the contained components slightly off-center), but what was changed to cause it?

Maybe because the default for the TForm.AutoScroll property changed from false to true.

Vincent

Reply by email

Luca Olivetti
to Mattias Gaertner: On Thu, 28 Aug 2008 20:33:44 +0200 (CEST) FPC, Lazarus version? OS? Do you know the…

En/na Mattias Gaertner ha escrit:

Show quoted text 11 lines
On Thu, 28 Aug 2008 20:33:44 +0200 (CEST) "Luca Olivetti" wrote: > With a recent svn (from last week) most of my forms acquired unwanted > scrollbars. > I corrected the problem by making them a couple of pixels bigger > (though that made the contained components slightly off-center), but > what was changed to cause it? FPC, Lazarus version? OS? Do you know the lazarus revision of the change?

The current one is 16233 with fpc 2.2.2, the previous was a snapshot of svn 15358 and fpc 2.2.3 (however close to the release of 2.2.2, so it should be practically identical to 2.2.2).
Both on win32.
I don't know which release changed it.

Bye

Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007

Reply by email

Luca Olivetti
to Vincent Snijders: Maybe because the default for the TForm.AutoScroll property changed from false to true.…

En/na Vincent Snijders ha escrit:

Show quoted text 9 lines
Luca Olivetti schreef: > With a recent svn (from last week) most of my forms acquired unwanted > scrollbars. > I corrected the problem by making them a couple of pixels bigger (though > that made the contained components slightly off-center), but what was > changed to cause it? Maybe because the default for the TForm.AutoScroll property changed from false to true.

Probably, however in a test form with a panel I get the scrollbar even if I set it to false (and both VertScrollBar.visible and HorzScrollBar.visible are false), both at design time

Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007

Reply by email

Luca Olivetti
to Luca Olivetti

En/na Luca Olivetti ha escrit:

Show quoted text 14 lines
En/na Vincent Snijders ha escrit: > Luca Olivetti schreef: >> With a recent svn (from last week) most of my forms acquired unwanted >> scrollbars. >> I corrected the problem by making them a couple of pixels bigger (though >> that made the contained components slightly off-center), but what was >> changed to cause it? > > Maybe because the default for the TForm.AutoScroll property changed > from false to true. Probably, however in a test form with a panel I get the scrollbar even if I set it to false (and both VertScrollBar.visible and HorzScrollBar.visible are false), both at design time 's an interesting detail: once AutoScroll has been set to true,

there's no turning back, even if you set it to false you get the scrollbars. I try and it happened also in the previous version, however since the default was false it didn't trigger this problem.

Bye

Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007

Reply by email

Luca Olivetti
to Mattias Gärtner

En/na Mattias G?rtner ha escrit:

Please create a bug report with an example.

http://bugs.freepascal.org/view.php?id=11991

It would help if you could determine the svn revision of the regression. Find binary search you could find out easily.

The default of AutoScroll was changed in revision 15375, however, if you see my other follow-up, the problem (changing AutoScroll from true to false has no effect) was present before but it was no apparent since the default was false.

Bye

Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007

Reply by email