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