Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review TMemo Demo #18

Closed
srd-software opened this issue Jul 2, 2019 · 2 comments
Closed

Review TMemo Demo #18

srd-software opened this issue Jul 2, 2019 · 2 comments

Comments

@srd-software
Copy link
Contributor

Alexey, when time permits, I have a demo for a TMemo using the ATscrollbar. It will show how to:

  • Use a custom ATscrollbar with a TMemo
  • Change Font (size, style, allows both proportional and monospaced tests)
  • Change WordWrap
  • How to scroll the memo from the custom ATscrollbar
  • How to scroll the ATscrollbar from the memo
  • Turn both system and custom scrollbars on at the same time for comparison
  • Simple color theme (regular and dark)
  • File drop to TMemo
  • WheelScroll TMemo and ATScrollbar

Image36

I think the vertical stuff is OK (memo controls sb; sb controls memo), and the horizontal seems OK (sb controls memo). But you might check what I've done for horizontal memo controls sb. There's not really a good way that I can find to get the memo horizontal scroll info over to the sb but I did the best I could.

I think this demo will be very useful as there are a lot of links when searching for this kind of thing but very little that helps much. Searches such as: scroll tmemo, tmemo custom scrollbar, how to scroll tmemo when its scrollbars are hidden, etc.

Like I say, I need something like this for reference anyway so if you decide not to use it that's OK.

@Alexey-T
Copy link
Owner

Alexey-T commented Jul 2, 2019

It is Ok - I cannot review it coz I have notebook without Delphi on vacation . Go on, make pull req...

@srd-software
Copy link
Contributor Author

I put it up. Don't worry about it until you get back!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants