Sign in Join
Wiki copytemporary

Revision 1 of 2, by Trev on 8-7-2020. The page as it is now.

ATGroups

About

ATGroups is used in SynWrite+CudaText editors as app skeleton. It contains 6 page-controls, each based on ATTabs, and maniupulates these pages: depending on Mode prop, it makes visible one, two, three etc pages, with splitters between them, so you can resize pages. Also 2x2 and 3x2 grid modes exist (some splitters are sync'ed). Allows to drag-drop tabs between all pages. Tested with TMemo as editor control, of course can be used with other memos or frames.

Group 1 cannot be empty (on closing last tab new tab is opened), other groups can be empty (on closing last focused tab group 1 gets focus).

Requirements

Lazarus: 1.8+. Tested on: Windows, Linux GTK2/Qt, macOS.

Screenshots

Screenshots taken from Delphi with themed tabs (SpTBX used)

Mode 1x3

<figure> <img src="atgroups_mode1x3.png" title="atgroups_mode1x3.png" /> <figcaption>atgroups_mode1x3.png</figcaption> </figure>

Mode 2x1

<figure> <img src="atgroups_mode2x1.png" title="atgroups_mode2x1.png" /> <figcaption>atgroups_mode2x1.png</figcaption> </figure>

Mode 2x2 (4 groups grid)

<figure> <img src="atgroups_mode2x2.png" title="atgroups_mode2x2.png" /> <figcaption>atgroups_mode2x2.png</figcaption> </figure>

Mode 3x2 (6 groups grid)

<figure> <img src="atgroups_mode3x2.png" title="atgroups_mode3x2.png" /> <figcaption>atgroups_mode3x2.png</figcaption> </figure>

License

License: MPL 2.0 or LGPL.

Download

ATGroups is merged into ATFlatControls repo: https://github.com/Alexey-T/ATFlatControls/


From the Free Pascal wiki, page "ATGroups", as it stood on 2020-08-07 after a change by Trev, 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.