Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tooltext and ole controls
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00017011
Message ID:
00017095
Views:
59
>Anyone out there using ole controls? Like threed SSComand or the 3D panel. I am and I'm very happy so far. I would just like to add a tool tip to some command buttons. I tried putting transparent shapes over/under the control. I've tried invisible buttons on top. All to no avail. Any one have any good solutions perhaps an alternate methode. TIA.

Hi Joe,

Just read your problem with the tooltips.

I recently coded a VFP demo of our product, the Component Toolbox OCX and ran into the same problem. We have a tips control in our package, but it appears that in VFP each control in a form does not get assigned its own handle. This caused a problem when trying to determine which control we were over with the mouse. The solution to the problem was to use the mouse over event of each control to pass the tool tip text to the tips control, and the mouse over event of the form to pass a blank string to the control (causing it not to fire a tip) when the mouse was not over a control. This seemed to work really well. There is a demo of the component toolbox ocx on our web site at www.dbi-tech.com which has sample VFP source code to show you how we got the tips to run.

Hope this helps,

Alan Shead
dbi technologies inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform