[lazarus] How to scroll TMemo control in code

andrew johnson acjgenius at earthlink.net
Fri Mar 28 10:51:06 EST 2003


I think this is a great idea. And FYI.. the only reasons
TControlScrollBar is so inflexible is because, a) I didn't know what I
was doing. and b) because I was only attempting to implement what was
needed for TScrollingWinControl stuff. So, if it is possible to make as
many of these changes as possible directly in TControlScrollBar without
breaking TScrollingWinControl, and Delphi compatibility in that regard I
think it would make more sense to do so.

Andrew

On Fri, 2003-03-28 at 08:49, Shane Miller wrote:
> I agree with this.  Either place the property statement into the private
> section (so the visibility is less than it's parent class) or simply
> override the methods that actually set the range.  I think that it
> really should inherit from TCOntrolScrollBar to stay consistent.
> 
> Shane
> 
> 
> >What about
> >
> >TCustomMemoScrollBar = class(TControlScrollbar)
> >
> >and overload the properties?
> >
> >
> >Mattias
> 
> 
> 
> CONFIDENTIALITY NOTICE:
> This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information.
> Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives







More information about the Lazarus mailing list