Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

TLMDEditView Scrollbar Style

I have VCL styles enabled in my project, but I have noticed that the TLMDEditView does not paint the scrollbar (it paints native).

Perhaps I am missing a property? I tried applying a style hook like so:

initialization
  TStyleManager.Engine.RegisterStyleHook(TLMDEditView, TScrollingStyleHook);

This does style it correctly, however the behaviour of the scrollbar is affected.

Please advise thanks.
png
png
lmd_edit_view_scrollbar_style.png
7K

Comments

  • 2 Comments sorted by Votes Date Added
  • We do not support VCL Styles in Syntax Edit. Only explicit color schemes. However, often using TScrollingStyleHook works fine. Can you describe in more details how scroll bar behavior is affected?
  • edited May 30 Posts: 2Vote Up0Vote Down
    Thanks for reply,

    Yes, when using the vertical scrollbar to scroll up and down, whilst still scrolling, if the mouse also moves horizontally it moves the caret across too (almost as if scrolling horizontally too).

    EDIT:

    The unwanted behavior seems to be when scrolling all the way to the bottom or top of the control.
Sign In or Register to comment.