Sign in Join
Wiki copytemporary

ATImageBox: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11# About
22
33This is TScrollBox with embedded TImage. Control can auto position image inside, using options:
44
55- fit image (by total size, by width only, by height only)
66- fit only bigger image
77- center image
88- scale image
99
10-<figure>
11-<img src="ATImageBox.png" title="ATImageBox.png" />
12-<figcaption>ATImageBox.png</figcaption>
13-</figure>
10+![](/wiki-images/7/7f/ATImageBox.png)
1411
1512Usage:
1613
1714- Methods LoadFromFile, LoadPicture loads an image.
1815- Props Opt* are new published props.
1916- Public props: ImageWidth, ImageHeight, ImageZoom (scale in percents).
2017
2118Author: Alexey Torgashin
2219
2320# Hotkeys
2421
2522Keyboard hotkeys:
2623
2724- arrows: scroll by small step
2825- Ctrl+arrows: scroll to edge
2926- Home, End, PgUp, PgDown: scroll by big step
3027
3128Mouse:
3229
3330- dragging of image (when image is bigger)
3431- Ctrl+ mouse wheel: zoom in/out
3532- Shift+ mouse wheel: horizontal scroll
3633
3734# Download
3835
3936GitHub: <https://github.com/Alexey-T/ATImageBox-Lazarus>
4037
4138---
4239*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).*
4340Category: Components

Back to history