ATFlatToolbar: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: ATFlatToolbar
| Old | New | Line | |
|---|---|---|---|
| 1 | + | # About | |
| 2 | + | ||
| 3 | + | ATFlatToolbar is component which creates row of [[ATButton]]'s on it, this looks like toolbar. | |
| 4 | + | ||
| 5 | + | It don't support creating toolbar in IDE design time. You need to call methods: | |
| 6 | + | ||
| 7 | + | - AddButton: to add usual button (with caption or not) | |
| 8 | + | - AddDropdown: to add button with attached drop-down menu | |
| 9 | + | - AddChoice: to add button which acts like a combobox, with Items and ItemIndex | |
| 10 | + | - AddSep: to add button which looks like "\|" separator line | |
| 11 | + | - UpdateControls: this updates buttons placement, you must call it after changes (also after ImageList size is changed) | |
| 12 | + | ||
| 13 | + | <figure> | |
| 14 | + | <img src="atbuttonstoolbar_demo.png" title="atbuttonstoolbar_demo.png" /> | |
| 15 | + | <figcaption>atbuttonstoolbar_demo.png</figcaption> | |
| 16 | + | </figure> | |
| 17 | + | ||
| 18 | + | - Use props ButtonCount and Buttons\[i\] to get ATButton's from component. | |
| 19 | + | - Use Buttons\[i\].Free to delete buttons. | |
| 20 | + | - Use prop Vertical for make vertical layout. | |
| 21 | + | ||
| 22 | + | Author: Alexey Torgashin | |
| 23 | + | ||
| 24 | + | # License | |
| 25 | + | ||
| 26 | + | MPL 2.0 or LGPL. | |
| 27 | + | ||
| 28 | + | # Download | |
| 29 | + | ||
| 30 | + | GitHub page: <https://github.com/Alexey-T/ATFlatControls> | |
| 31 | + | ||
| 32 | + | --- | |
| 33 | + | *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).* | |
| 34 | + | Category: Components | |
| 35 | + | Category: Lazarus |
