Manipulating tabs in MES?

I am working at deploying some things in MES, and our custom screens are going to be the ones that are used more than the stock ones going forward. Because of this, I would like to manipulate the tabs a bit so that our custom company tab is the first one and shows up first when a user logged in. I tried once to set a layout with a personalization, and MES flipped out. So it’s unusable. Anytime I try to move anything back, numbers are going wonky and it’s a mess. I reverted back to my old version and just left the custom tab on the end for now, but I would still like to figure out at least how to make the custom one the first thing that the user sees.I know the usual method is to move things around, save layouts, then save the customization, but considering the apparent fragile nature of that method, I’m wondering if I can set the custom tab to be the one selected on form load.

I’ve tried .Select() and .Focus(), but they seem to work in the background and not like a click would. So while they may be selecting or focusing, they don’t actually change the screen. ( @josecgomez, is this a better application of Application.DoEvents(); you were telling me about in the other thread?)

Have you tried dragging the tab yourself (out of developer mode) right click Save Layout then Right Click go into Customization mode and save it?
PS: no that other thing won’t help you here.

Yes, that’s when it flipped out… I’m thinking some code would be more stable then relying on personalization.

Code mostly likely wont help you (easily) here. I havent looked at the MES code, but I imagine it’s the same as several other screens I’ve bumped heads with. Essentially, the OnFormLoad code runs before the Epicor FormLoad code. This means that anything (well not ANYTHING, but default display related things) you try to set will most likely be overwritten anyway.

Ok, thanks for the replies. I will get everything the way I want it without this personalization then, back it up, then see if I can get it to work.