I need to allow the user to change the order their tabs appear. I'm currently using a TabStrip. The Tabs are loaded from a config file. All users at some point need all tabs but some users use, say, t1, t5 and t8 most of the time while others use t2, t4, t1 most of the time and so want those taps to be left most.
Rather than maintaining a different config for each user I'd like to allow them to just drag the tabs into the order they want. I'll save that order in a user config file.
I was hoping to just adapt my code that changes msflexgrid column order (originally adapted from http://www.xtremevbtalk.com/showthread.php?t=235380) but the TabStrip dosn't give me MouseTab like MSFlexGrid.MouseCol. This is especially frustrating since it has HotTracking so something must know what tab my mouse is on. I have the same problem with sstab.
I'm left with trying to imitate a tab control using a frame and array of label or button controls but am hopeful that someone here has a better idea.
Thanks for any Ideas![]()




Reply With Quote