Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Always on top/bottom?
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00831194
Message ID:
00831202
Views:
21
>I have an ActiveX control that I do not want the user to click into. The control does *NOT* have a readonly property. I want to put a transparent label over the ActiveX control, but everything I do it, the ActiveX control comes to top. I have tried everything, the Z-order etc. One weird thing I have found is any VFP activeX control does the same thing as well, always on top.
>
>Thanks,
>Dale

Like George mentioned, unfortunately, that's the way ActiveX controls work. They essentially are a new "window", so they always overlap VFP controls (eg. are always on top). If they are using Windows 2000/XP, you could use a transparent VFP form to overlap the ActiveX control (doesn't work under Win98/95).

Another thing you might be able to do is fire up VB and create a new ActiveX control. Then drop on your control. Now find another ActiveX control that you can make transparent and drop it on top of the existing control. There is a way of setting the Z order of them (sorry, it's been a long time and I don't remember exactly how to do it). Then you compile up this ActiveX control and use it in your VFP app. instead.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Reply
Map
View

Click here to load this message in the networking platform