Interesting thing... I have a small program in native xbase that works fine... the ocx always pops up on top. I also have a similar program using express (a little more complicated as I tried to duplicate as close as possible the exact operating scenario in our live progam). That one has the focus issue (ocx opens behing program and youhave to click on from task b ar to access it)!
I'm thinking there may be something in Roger's stuff that's causing it.... (but as my wife truly enjoys reminding me - I am frequently wrong).
Attached are 2 zips,one the version in native xbase (nodonnay.zip) and the other using express (donnay.zip). The ocx is in each project (the xml file included is the config info for the ocx).
Once loaded, the ocx works great - it accepts the info I give it and I get back the info I need. The ONLY issue is that it loads up BEHIND the app, not in front!
If needed, I can get you Rubin's email or phone number. Any assistance would be GREATLY appreciated as we have customers waiting on it.
As always, thanks in advance to all you wizards out there

bruce