[Lazarus] TControlScrollBar implementation is weird
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri Nov 11 14:41:50 CET 2011
Hans-Peter Diettrich <DrDiettrich1 at aol.com> hat am 11. November 2011 um 14:14
geschrieben:
> This class contains some strange methods, which are not required or are
> Delphi incompatible.
>
> SetAutoScroll always disables AutoScroll, no chance to enable it again.
I removed it.
> What's the purpose of that Lazarus-added method?
Disable FControl.AutoScroll.
>
> SetSize is not implemented (throws an exception). It would be simpler to
> make Size read-only, so that the compiler detects invalid calls. At
> least I'm missing a ToDo note.
I removed it.
Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111111/d861e8f1/attachment-0003.html>
More information about the Lazarus
mailing list