I want to add new tabs dynamically on click of new tab button and as a result a Window will open and i write tab caption
I had idea, but don’t know if this approach is the best one.
using combination of TabSheet + Button.
- define 1 horizontal/vertical layout as container, set the style posisition : relative
- add the tab to the containter
- add the button on container, set position : abosolute, set top and left as required ( using calculation of tab caption width * number of tab for left position)
- when button is click, just add new tab, and move the position of the button