Good day. The situation is as follows: a certain amount of TabPage (tabs) is created dynamically. The result is a certain number of rows. Problem: when selecting a tab, the entire row containing this tab is moved to the first row. Question: what needs to be done so that the order of the tabs does not change?
Example:
Page1; Page2; Page3:
Page4; Page4; Page5
after selecting Page2:
Page4; Page4; Page5
Page1; Page2; Page3