Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wierd ToolTipText behaviour
Message
From
07/12/2001 02:48:55
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00590095
Message ID:
00591011
Views:
31
Hi!

This control is provided for free and you can change its source codes to fix the problem. IN particular, it uses sys() function to get object that is currently under mouse. Seems that sys() function works incorrectly for scrolled form, so need to use another way. Instead of that functions, use MROW() and MCOL() to get mouse coordinates, then loop through controls on the form and check which control is under that point with accounting of scrolling. You can spped up this process when make an array for all controls with coordinates, for case the form contains a lot of controls and as a result the process of scannign all controls mught be slow.

>This control has the same problem as VFP's tooltip. Thanks for the suggestion though. I can see using this control anyway for other non-scrolled forms.
>
>I'm going to pass this issue on to Paul (the creator) as a suggested enhancement.
>
>>Thanks Vlad,
>>
>>I'll have a look at that control. Do you know if this behaviour (aka BUG :-) has been corrected in VFP7?
>>
>>>Hi!
>>>
>>>Scroll the form a bit and then put the mouse over the place where exactly button was before any scrolling. You will get a tool tip for that button. VFP show tool tips without accounting of the scrolling.
>>>
>>>You can solve this problem by using custom tool tip control. For example, take a look to the Fancy Tool Tip control in the downloads section here.
>>>
>>>HTH.
>>>
>>>>I have a scrollable form with several command buttons and graphical checkboxes. When I run the form, and hover the mouse over any visible command button or checkbox, the tooltip appears. If I scroll the form down and hover the mouse over any newly visible command button or checkbox, the tooltip doesn't appear.
>>>>
>>>>This must be a bug of some kind. Anyone else ever encountered this and can suggest a workaround? TIA
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform