I created a COM Interop object that includes visual studio windows forms for Microsoft Access to run. In other words, I am able to open my Windows Forms inside Microsoft Access, after registering my dll and then converting it into tlb.
Everything works fine except when the form opens the tab control (giving focus to controls by pressing TAB) functionality or pressing ENTER when a button has focus does not work.
When I run my COM object in another C# application everything works fine. Only when I try to run it in Microsoft Access I have this problem.
My Windows form has 4 text boxes and a button with nothing else. And all of my controls TabStop property is set to TRUE and TabIndex values are set as well. When I go to View -> Tab Order I can see everything is set correctly. But yet, the TAB button wont work.