Difference between revisions of "ATScrollBar"

From Lazarus wiki
Jump to navigationJump to search
(→‎Usage: del old infos)
Line 37: Line 37:
 
* Tested on: Windows 7, Linux (gtk2/qt), macOS (10.8)
 
* Tested on: Windows 7, Linux (gtk2/qt), macOS (10.8)
  
= Usage =
 
 
* Component doesn't support Lazarus designer, you need to create objects at runtime.
 
* See demo app source for example usage.
 
  
 
[[Category:Components]]
 
[[Category:Components]]

Revision as of 16:01, 3 July 2017

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 (Russia).

License

MPL 2.0 or LGPL, dual licensed.

Download

Latest version, with demo app, is in ATButtons Github repo: [1].

System requirements

  • Lazarus: 1.4+
  • Tested on: Windows 7, Linux (gtk2/qt), macOS (10.8)