An activex control in vb6.0(which contains a maskedit box) is disabled in the form. But when running the application, tabbing onto the activex control happens(from another control) and got focus event of the activex control gets fired. ( due to the enabled property).

Now we have rewritten the activex component in vb.net, with the properties and events similar to that of the activex control. But we are unable to simulate the above behaviour(enter event getting called, though the control is disabled, on tabbing). It behaves like any other control(tabstop does not work). Anyone faced a similar problem.

Hope I am clear on this.