One or Two Button Trackbar with Styles: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: One or Two Button Trackbar with Styles
| Old | New | Line | |
|---|---|---|---|
| 1 | + | ### About | |
| 2 | + | ||
| 3 | + | ''TrackBar2" is a trackbar component that can be configured in a broad range of different styles (colors, thumb styles, tick styles and so on) and can support either one or two thumb buttons. Where a one-button trackbar is used to define a value, a two-button track bar is useful in defining a range of values between a minimum and a maximum. I use two two-button trackbars (one vertical, one horizontal) do define a rectangular area of interest in a bitmap image. | |
| 4 | + | ||
| 5 | + | This component is based on the tDCTrack one-button trackbar written by Doug Gregor and widely available on the internet. | |
| 6 | + | ||
| 7 | + | The component has been tested under Windows (2000, XP) only. | |
| 8 | + | ||
| 9 | + | The main characteristics of Trackbar2 are : | |
| 10 | + | ||
| 11 | + | - Use one or two thumb buttons. | |
| 12 | + | - Allows several different thumb button styles. | |
| 13 | + | - Allows several different tick mark styles. | |
| 14 | + | - Allows several different placement options for tick marks. | |
| 15 | + | - Allows different colors for ticks, track bar and thumb buttons. | |
| 16 | + | - Allows vertical and horizontal orientation. | |
| 17 | + | ||
| 18 | + | The download contains the component source and a demo application that illustrates some of the features of the component. I have not included a package since I suspect that most users will want to define their own registration parameters by modifying the registration procedure in the source file. | |
| 19 | + | ||
| 20 | + | ### Screenshot | |
| 21 | + | ||
| 22 | + | Here is an exemple of several applications of Trackbar2. | |
| 23 | + | ||
| 24 | + | ### Author | |
| 25 | + | ||
| 26 | + | This component is an extension of the work of Doug Gregor. I have adapted it to allow for two-button configurations. | |
| 27 | + | ||
| 28 | + | ### License | |
| 29 | + | ||
| 30 | + | [modified](http://svn.freepascal.org/svn/lazarus/trunk/COPYING.modifiedLGPL) [LGPL](http://svn.freepascal.org/svn/lazarus/trunk/COPYING.LGPL) (same as the FPC RTL and the Lazarus LCL). You can contact the author if the modified LGPL doesn't work with your project licensing. | |
| 31 | + | ||
| 32 | + | ### Download | |
| 33 | + | ||
| 34 | + | The latest stable release can be found on *link to the lazarus-ccr sf download location*. | |
| 35 | + | ||
| 36 | + | ### Change Log | |
| 37 | + | ||
| 38 | + | - Version 1.0 *date* | |
| 39 | + | ||
| 40 | + | ### Dependencies / System Requirements | |
| 41 | + | ||
| 42 | + | This component has been tested under Windows only. It uses Classes, Messages, Types, LCLType, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls; | |
| 43 | + | ||
| 44 | + | Status: First release | |
| 45 | + | ||
| 46 | + | Issues: | |
| 47 | + | ||
| 48 | + | Windows only as presented. | |
| 49 | + | ||
| 50 | + | ### Installation | |
| 51 | + | ||
| 52 | + | Modify the source to Install into the package of your choice using the standard Lazarus install procedure. | |
| 53 | + | ||
| 54 | + | ### The *My Component* Example Application | |
| 55 | + | ||
| 56 | + | This sample Trackbar.exe (for windows) will display a collection of one- and two-button trackbars that can be created using the component. | |
| 57 | + | ||
| 58 | + | --- | |
| 59 | + | *From the Free Pascal wiki, page "One or Two Button Trackbar with Styles", as it stood on 2013-09-30 after a change by Jwdietrich, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 60 | + | Category: Proposals |
