The GotFocus handler of the viewTabControl had always set the focus to the control of the first tab page because Control.TabIndex is the tab (tabulator) order index of the control, not the tab page index. I changed this to the selected tab page, which was probably originally meant.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3276 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61