Sign in Join
Wiki copytemporary

ATFlatToolbar: what changed

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

OldNewLine
11# About
22
33ATFlatToolbar is component which creates row of [[ATButton]]'s on it, this looks like toolbar.
44
55It don't support creating toolbar in IDE design time. You need to call methods:
66
77- AddButton: to add usual button (with caption or not)
88- AddDropdown: to add button with attached drop-down menu
99- AddChoice: to add button which acts like a combobox, with Items and ItemIndex
1010- AddSep: to add button which looks like "\|" separator line
1111- UpdateControls: this updates buttons placement, you must call it after changes (also after ImageList size is changed)
1212
13-<figure>
14-<img src="atbuttonstoolbar_demo.png" title="atbuttonstoolbar_demo.png" />
15-<figcaption>atbuttonstoolbar_demo.png</figcaption>
16-</figure>
13+![](/wiki-images/9/9b/Atbuttonstoolbar_demo.png)
1714
1815- Use props ButtonCount and Buttons\[i\] to get ATButton's from component.
1916- Use Buttons\[i\].Free to delete buttons.
2017- Use prop Vertical for make vertical layout.
2118
2219Author: Alexey Torgashin
2320
2421# License
2522
2623MPL 2.0 or LGPL.
2724
2825# Download
2926
3027GitHub page: <https://github.com/Alexey-T/ATFlatControls>
3128
3229---
3330*From the Free Pascal wiki, page "ATFlatToolbar", as it stood on 2021-12-16 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).*
3431Category: Components
3532Category: Lazarus

Back to history