Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/jkour/neTabControl

FMX TabControl
https://github.com/jkour/neTabControl

Last synced: about 1 month ago
JSON representation

FMX TabControl

Lists

README

        

# neTabControl
neTabControl is a FireMonkey control for Delphi. It builds on the native TabControl and adds a number of features.

> **Important note:** Starting from v.1.0.0, neTabControl is not a simple subclass of TTabControl as in previous versions. If you use previous versions you need to update the control in the forms you're using it

#Video Demonstration
Follow this link for a quick demo: [neTabControl Video](https://youtu.be/1OxMN-HeWhk "neTabControl Video")

# Design
The control uses three elements:

1. A Tag
2. A TneTabItem: A subclass of TTabItem
3. A Frame

The neTabControl holds several TabItems, which all inherit from TneTabItem and shows a TFrame for each TneTabItem.

For more details about the Architecture of neTabControl, check the wiki.

# How To Use

Build and install the package: Open the Package file and install the component. Then you can drag and drop it in any forms

**Note:** The actual components of each tab need to be embedded in a Frame and then attached to the tabControl

# FMX Style
Starting from version 1.0.0 neTabControl doesn't use styles to embed the close image.

# Highlights

* Tab items are linked to tags instead of indices.
For example you can write: SetActiveTab("Welcome Screen") or DeleteTab('Report Summary')
* TabItems have close icon
* TabItems can embed any control that descends from TControl (eg, image, progress bar, etc.) [v.1.0.0]
* Ability to add controls before or after the tab items (eg. Add button, etc.) [v.1.0.0]
* Style-indenendent tab item control. You can use any pre-existing style file without any customisation. neTabControl embeds the close image and the other control automatically [v.1.0.0]
* Customisable Pop-up menu
* Procedure to export the list of open tabs in order to implement load/save workspace feature

# Screenshots

Customisable Tab Bar

[![](https://github.com/jkour/neTabControl/blob/master/Screenshots/TabBar.png)](https://github.com/jkour/neTabControl/blob/master/Screenshots/TabBar.png)

Close Image On Mouse Hover

[![](https://github.com/jkour/neTabControl/blob/master/Screenshots/CloseImageOnHover.png)](https://github.com/jkour/neTabControl/blob/master/Screenshots/CloseImageOnHover.png)

Customisable Right-click menu

[![](https://github.com/jkour/neTabControl/blob/master/Screenshots/Right-Click.png)](https://github.com/jkour/neTabControl/blob/master/Screenshots/Right-Click.png)

Customisable controls before and after the tab items

[![](https://github.com/jkour/neTabControl/blob/master/Screenshots/ButtonAtTheTabbar.png)](https://github.com/jkour/neTabControl/blob/master/Screenshots/ButtonAtTheTabbar.png)

Vertical position of the tab items

[![](https://github.com/jkour/neTabControl/blob/master/Screenshots/PositionLeft.png)](https://github.com/jkour/neTabControl/blob/master/Screenshots/PositionLeft.png)

Control embedded in tab items (Badge)

[![](https://github.com/jkour/neTabControl/blob/master/Screenshots/Control3.png)](https://github.com/jkour/neTabControl/blob/master/Screenshots/Control3.png)

Control embedded in tab items (Progress Bar)

[![](https://github.com/jkour/neTabControl/blob/master/Screenshots/Control4.png)](https://github.com/jkour/neTabControl/blob/master/Screenshots/Control4.png)

Styles

[![](https://github.com/jkour/neTabControl/blob/master/Screenshots/Style1-Air.png)](https://github.com/jkour/neTabControl/blob/master/Screenshots/Style1-Air.png)

[![](https://github.com/jkour/neTabControl/blob/master/Screenshots/Style2-MetropolisUIBlack.png)](https://github.com/jkour/neTabControl/blob/master/Screenshots/Style2-MetropolisUIBlack.png)

# Platforms

This is a FireMonkey component. It should work on any platform but I have tested only on Win32, Win64 and MacOSX.

#Documentation
There is documentation about the classes, the methods and properties. Please check the "Documentation" folder.

# Known Issues
Check the wiki [here](https://github.com/jkour/neTabControl/wiki#known-issues "here").

#Bugs, Suggestions, Comments and General Contact
I hope you find the component useful. If you have any comments or ideas, have spotted any bugs or have any suggestions about changes to the code use the "Issues" tab on github or drop me an email at [email protected]

Thanks!

John