From Free Pascal wiki
Jump to: navigation, search


ATGroups is used in SynWrite text editor 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).

Author: Alexey Torgashin (Russia)


Screenshots taken from Delphi with themed tabs (SpTBX used)

Mode 1x3

atgroups mode1x3.png

Mode 2x1

atgroups mode2x1.png

Mode 2x2 (4 groups grid)

atgroups mode2x2.png

Mode 3x2 (6 groups grid)

atgroups mode3x2.png


License: MPL 2.0. Also if your project needs it, you can use it under LGPL.


Latest version, with demo app, is always at

  • Download the zip file from Github using "Download zip" button.
  • No installation into Lazarus needed, just unpack files ATnnnnn.pas to any folder.


Lazarus: 1.4.0

Tested on: Windows 7, Linux GTK2 (Ubuntu 14.04), MacOS X 10.8.

Bug reporting

Please add your reports to Github issues page.