Lazarus

Programming => LCL => Topic started by: mangakissa on February 27, 2014, 05:40:07 pm

Title: scrollbars in TMemo
Post by: mangakissa on February 27, 2014, 05:40:07 pm
If I select Tmemo.scrollbars = ssboth / ssautoboth, I only get a vertical scrollbar.

Is this normal?

Lazarus 1.0.12 / FPC 2.6.2 windows Vista 32 bits
Title: Re: scrollbars in TMemo
Post by: zeljko on February 27, 2014, 08:00:57 pm
ssBoth = Both scrollbars MUST be visible
ssAutoBoth = only needed scrollbar is visible eg. if you have WordWrap = True I doubt that you'll see horizontal scrollbar ever in TMemo.
Title: Re: scrollbars in TMemo
Post by: mangakissa on February 28, 2014, 05:03:46 pm
I'm work in Delphi and Lazarus. If Delphi the component works if you want to, you think it should be also in Lazarus. But some components in Lazarus are more better / advanced.

WordWrap was the problem. Set to false gave me both scrollbars.

Thank's
Title: Re: scrollbars in TMemo
Post by: zeljko on February 28, 2014, 07:21:53 pm
I'm work in Delphi and Lazarus. If Delphi the component works if you want to, you think it should be also in Lazarus. But some components in Lazarus are more better / advanced.

WordWrap was the problem. Set to false gave me both scrollbars.

Fill an issue about it please. If it works in Delphi then it should work in lazarus too (in case you're talking about win32 widgetset).
Title: Re: scrollbars in TMemo
Post by: mangakissa on March 01, 2014, 08:24:10 am
I don't think it's an issue. Lazarus does it right, delphi doesn't.
Title: Re: scrollbars in TMemo
Post by: mangakissa on October 27, 2020, 02:01:22 pm
I noticed that ssboth / ssautoboth connected together with property wordwrap. I didn't know that.
But why?

Title: Re: scrollbars in TMemo
Post by: lucamar on October 27, 2020, 03:28:06 pm
I noticed that ssboth / ssautoboth connected together with property wordwrap. I didn't know that.
But why?

For ssAutoBoth is quite logical but for ssBoth it must be widget-dependant behaviour. .With Linux here it doesn't happen (see attached image: both memos use ssBoth).
TinyPortal © 2005-2018