Tab Index Problems

I’m trying to create a tab index that will tab between in a certain order through various types of components. However, on buttons, comboboxes and a few other componenents once they have focus pressing tab no longer switches the focus. I’m sure there is a function you can use to set focus by capturing a tab keypress but I can’t figure out how to make any of them work correctly.

Thanks for any help.