Open dibyamani opened 10 years ago
It's a known bug - and I don't have a solution for this. If you can provide a fix it would be more than welcome!
Hi Tielj,
I have figured out the root of the problem but I don't know the solution. Probably it will help you to fix this issue. Actually, the OnControlAdded method in the MetroTabControl(line no: 349) is giving this problem. If I comment this method, problem is fixed.
Thank you.
you can avoid the problem by saving the tab value . go to program class declare a varibale like pulic static int32 tab = 0; on metrotab selectedtab change event write following program.tab = metroTabControl1.SelectedIndex;
Now on form load this.metroTabControl1.SelectedIndex =program.tab;
.//////////////////////////// this will surely solve your problem
When I save the form's design, the sequence of the tab pages gets changed inside InitializeComponent() method of form designer.