Tabpages position changed by itself. What's code to fix the position? (Visual Basic 2010 Express) RRS feed

  • Question

  • I have added 1 tabcontrol to a form, then I added 8 tabpages to the tabcontrol. I set "Multiline" = True, so that all the 9 tabpages will be distributed evenly in 2 row. The problem I'm facing now is the position of the tabpages will be changed automatically when i clicked the tabpages. I know someone also face this problem before in other forum I searched through Google, however there's no answer posted. Is there anyone know the codes that associated to the position of tabpages so that I can write code to fix the position?
    Wednesday, December 14, 2011 7:56 AM


  • Yea that is a very much by many not wanted behaviour of the tabpage. 

    Take a look at the page from Mick Doherthy for which solutions he has given around that.

    He has probably the most written about that control


    • Proposed as answer by Mark Liu-lxf Friday, December 16, 2011 3:04 AM
    • Marked as answer by Mark Liu-lxf Wednesday, December 21, 2011 9:06 AM
    Wednesday, December 14, 2011 8:03 AM