Difference between revisions of "ATScrollBar"

From Lazarus wiki
Jump to navigationJump to search
 
(6 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
[[File:ATScrollBar.png]]
 
[[File:ATScrollBar.png]]
  
= Author =
+
Author: Alexey Torgashin
 
 
Alexey Torgashin (Russia).
 
  
 
= License =
 
= License =
Line 30: Line 28:
 
= Download =
 
= Download =
  
Latest version, with demo app, is in ATButtons Github repo: [https://github.com/Alexey-T/ATButtons].
+
GitHub repository: https://github.com/Alexey-T/ATFlatControls
 
 
= System requirements =
 
 
 
* Lazarus: 1.2.0
 
* Tested on: Windows 7, Linux (Ubuntu 14.04), MacOSX 10.8
 
 
 
= Usage =
 
 
 
* Component doesn't support Lazarus designer, you need to create objects at runtime.
 
* See demo app source for example usage.
 
  
 +
[[Category:Lazarus]]
 
[[Category:Components]]
 
[[Category:Components]]

Latest revision as of 14:06, 16 December 2021

About

ATScrollBar is a scrollbar component for Delphi and Lazarus. It's not replacement for standard control, but is alternative one, it has different API. It paints itself OS-indenendant, using custom drawing on canvas.

Features:

  • default look is flat
  • arrow mark of any size
  • border of any size
  • owner-draw (you can paint OS theme)

Mouse support:

  • click and holding mouse on arrows
  • click and holding mouse on page-up (area above thumb) / page-down (area below thumb)
  • drag of thumb

Screenshot

ATScrollBar.png

Author: Alexey Torgashin

License

MPL 2.0 or LGPL, dual licensed.

Download

GitHub repository: https://github.com/Alexey-T/ATFlatControls