ATImageBox: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | # About | |
| 2 | 2 | ||
| 3 | 3 | This is TScrollBox with embedded TImage. Control can auto position image inside, using options: | |
| 4 | 4 | ||
| 5 | 5 | - fit image (by total size, by width only, by height only) | |
| 6 | 6 | - fit only bigger image | |
| 7 | 7 | - center image | |
| 8 | 8 | - scale image | |
| 9 | 9 | ||
| 10 | - | ||
| 11 | - | ||
| 12 | - | ||
| 13 | - | ||
| 10 | + |  | |
| 14 | 11 | ||
| 15 | 12 | Usage: | |
| 16 | 13 | ||
| 17 | 14 | - Methods LoadFromFile, LoadPicture loads an image. | |
| 18 | 15 | - Props Opt* are new published props. | |
| 19 | 16 | - Public props: ImageWidth, ImageHeight, ImageZoom (scale in percents). | |
| 20 | 17 | ||
| 21 | 18 | Author: Alexey Torgashin | |
| 22 | 19 | ||
| 23 | 20 | # Hotkeys | |
| 24 | 21 | ||
| 25 | 22 | Keyboard hotkeys: | |
| 26 | 23 | ||
| 27 | 24 | - arrows: scroll by small step | |
| 28 | 25 | - Ctrl+arrows: scroll to edge | |
| 29 | 26 | - Home, End, PgUp, PgDown: scroll by big step | |
| 30 | 27 | ||
| 31 | 28 | Mouse: | |
| 32 | 29 | ||
| 33 | 30 | - dragging of image (when image is bigger) | |
| 34 | 31 | - Ctrl+ mouse wheel: zoom in/out | |
| 35 | 32 | - Shift+ mouse wheel: horizontal scroll | |
| 36 | 33 | ||
| 37 | 34 | # Download | |
| 38 | 35 | ||
| 39 | 36 | GitHub: <https://github.com/Alexey-T/ATImageBox-Lazarus> | |
| 40 | 37 | ||
| 41 | 38 | --- | |
| 42 | 39 | *From the Free Pascal wiki, page "ATImageBox", as it stood on 2022-03-04 after a change by Alextp, 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).* | |
| 43 | 40 | Category: Components |
