Difference between revisions of "ATScrollBar"

From Free Pascal wiki
Jump to navigationJump to search
Line 49: Line 49:
  
 
* Component doesn't support Lazarus designer, you need to create objects at runtime.
 
* Component doesn't support Lazarus designer, you need to create objects at runtime.
* See API documentation at "Wiki" page of Github page.
+
* See demo app source for example usage.

Revision as of 23:10, 9 June 2014

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

Bug reporting

Please add your wishes and bug reports to Github issues page.

Author

Alexey Torgashin (Russia).

License

MPL 2.0.

Download

Latest version, with demo app, is always at Github page.

System requirements

  • Lazarus: 1.2.0
  • Tested on: Windows 7, Linux (Ubuntu 14.04)

Installation

  • Download the zip file from Github using "Download ZIP" button.
  • No installation into Lazarus needed, just unpack file ATScrollBar.pas to any folder.

Usage

  • Component doesn't support Lazarus designer, you need to create objects at runtime.
  • See demo app source for example usage.