i have started to work on.... <drums roll> tab control support from the editor. And a little voice in my head tells me that you might be interested in that
![Wink ;-)](./images/smilies/icon_wink.gif)
</sarcasm>
So my question is whether you have some ideas on how it should work/look in the editor. My first thoughts are these:
1. Just add tabs (TabPanes) with the "Add window" button, forcing the Add Window dialog to filter the possibilities based on the given parent. So this will result in a widget tree with TabPanes only (one for each available look).
2. Besides the "Add Window" button, place an "Add Tab" button, which enables as soon you select a normally added TabControl. This pops up a small version of the AddWindow dialog, in which you can only specify the name and the look. So not the entire tree.
3. When the user adds a TabControl via the AddWindow dialog (after pressing ok), open a "tab designer" window, such as MS Word's Table dialog, in which you can specify an initial number of tabs and some other settings.
I don't have a real favorite yet. The 3rd one might be nicest by design, but since there might be more uncommon scenarios (such as Menus) in the future, we might get a bit too many dialog screens.
The first option is both easiest and generic, since it just re-uses current functionality however slightly trimmed when handling uncommon widgets.
The second option looks like the first one, but might be a little more convenient since it only shows tab-related info. Not the entire (however small) widget tree.
Can you give some input on this? Others are of course welcome too!
![Smile :-)](./images/smilies/icon_smile.gif)
Thanks!