How to handle a double click on a TabControl's tabs panel's empty space?
In a TabControl there can be empty place to the right from tabs in the panel if there are not too many tabs. When a user doubleclicks开发者_如何学Go in this empty space I'd like to process this event to create a new tab. How to achieve this?
This doesn't sound like a UI concept that's intuitive to the users of your application. Why don't you add a small additional tab labelled "+". When the user clicks on that tab, the full tab is added. Firefox does it that why and it was intuitive to me from the first second.
(Sorry for not answering your double click question.)
精彩评论