Sign in Join

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

Mailing lists / lazarus / 2008-02

SynEdit scrollbars don't seem to work either.

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Lee Jenkins
Couldn't get TMemo to stop acting with wordwrap (WordWrap := false) regardless
of the settings.

So I tried TSynEdit and that is worse since the scrollbars are not painting correctly. (See attached.)

It's hard to think that anyone would want to use something so basic as a TMemo and expect minimalist features to work ;)

Warm Regards, Lee "Everything I needed to learn in life, I learned selling encyclopedias door to door." -------------- next part -------------- A non-text attachment was scrubbed... Name: synedit_scrollbars.png Type: image/png Size: 26146 bytes Desc: not available Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080217/08c01194/attachment-0001.png

Reply by email

Mattias Gaertner
to Lee Jenkins
Couldn't get TMemo to stop acting with wordwrap (WordWrap := false) regardless of the settings.

WordWrap=false
Scrollbars=ssBoth

Some widgetsets (e.g. gtk2) have not yet implemented changing the properties, so you must close the form and open it again to see the effect.

So I tried TSynEdit and that is worse since the scrollbars are not painting correctly. (See attached.)

How did you manage that?
Scrollbars in TSynEdit do work as you can see in the IDE.

It's hard to think that anyone would want to use something so basic as a TMemo and expect minimalist features to work ;)

Mattias

Reply by email

Lee Jenkins
to Mattias Gaertner: On Sun, 17 Feb 2008 15:57:08 -0500 WordWrap=false Scrollbars=ssBoth Some widgetsets (e.g.…
Mattias Gaertner wrote 9 lines
On Sun, 17 Feb 2008 15:57:08 -0500 Lee Jenkins wrote: > Couldn't get TMemo to stop acting with wordwrap (WordWrap := false) > regardless of the settings. WordWrap=false Scrollbars=ssBoth

Thanks, I tried that. In the IDE at design time, I can see the scrollbars, but when I run the project, only the vertical scrollbar is displayed and the WordWrap is in effect though I did set it to false both at design time and in the form's Create event. Adding text past the visible portion of the memo causes editing to wrap to the next line instead of forcing the horizontal scrollbar to appear and my precious scrolling to ensue ;)

Some widgetsets (e.g. gtk2) have not yet implemented changing the properties, so you must close the form and open it again to see the effect.

It's WinXP, lazarus 0.9.24.

How did you manage that? Scrollbars in TSynEdit do work as you can see in the IDE.

I know <g>. I figured SynEdit works in the IDE so it was a good (and actually better) alternative for the type of data the user must enter.

I'll play around with it some more, failing that I'll upgrade from svn and see if that helps.

Thanks again.

Warm Regards, Lee "Everything I needed to learn in life, I learned selling encyclopedias door to door."

Reply by email

Lee Jenkins
to Mattias Gaertner: On Sun, 17 Feb 2008 15:57:08 -0500 WordWrap=false Scrollbars=ssBoth Some widgetsets (e.g.…
Mattias Gaertner wrote 21 lines
On Sun, 17 Feb 2008 15:57:08 -0500 Lee Jenkins wrote: > Couldn't get TMemo to stop acting with wordwrap (WordWrap := false) > regardless of the settings. WordWrap=false Scrollbars=ssBoth Some widgetsets (e.g. gtk2) have not yet implemented changing the properties, so you must close the form and open it again to see the effect. > So I tried TSynEdit and that is worse since the scrollbars are not > painting correctly. (See attached.) How did you manage that? Scrollbars in TSynEdit do work as you can see in the IDE.

Thanks again everyone. I tried deleting the TMemo on the form completely, rebuilding then replace TMemo, set properties and it working now.

As a side note, I had something similar happen a few days ago where after siting a control the form, referring to it a runtime resulted in "Object idents no members....". Recompiling, rebuilding..nothing worked, but deleting the component, rebuilding and resiting the component again. Not sure if it's related.

Not sure what cause the problem with the SynEdit component not painting the scrollbars correctly. I just set the properties and ran the project so nothing special there.

At any rate, its working. Thanks for your replies.

Warm Regards, Lee "Everything I needed to learn in life, I learned selling encyclopedias door to door."

Reply by email