|
Does anyone know of a good way to implement the ability to allow users to drag a specific tab page within a tab control and drop it between two other tab pages -- thereby re-shuffling the order the tab pages are displayed?
e.g. if I drag tab page 2, and drop it to the left of the center of tag page 1 tab...
| tab page 1 | tab page 2 | tab page 3 |
it should change to
| tab page 2 | tab page 1 | tab page 3 |
Also, how do I catch a right-click mouse event on the tab and implement a context-sensitive menu? I want to add the menu items Rename, Delete, Save As... to any particular tab page.
Is this implemented already with a control out there? I tried the Magic UI Library, and the TabGroups got close to what I wanted, but dragging any tab page will spawn a split window always.. and that's not what I want.
Thanks in advance,
Fred.
|