Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tell MouseClick from MouseMove
Message
From
06/04/2011 09:48:47
 
 
To
06/04/2011 02:13:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01506220
Message ID:
01506254
Views:
41
>I have a container with an Invisible button covering it to register mouse activity. The MouseMove() event checks to see if ToolTipText is empty and if it is builds a quite complex text.
>
>The problem I have is the text can take 3-4 secs to display, if the user is simply clicking on the button the MouseMove still fires as clearly you need to move the mouse over the button to click it. If the user just wants to click then the 3-4 secs seems like a failure to respond to the click.
>
>I can't build the ToolTipText on load as there are more than 50 of these controls on the form and that would delay form load too much.
>
>What I want is a way to differentiate between a 'hover' and a click, My only thought so far is a timer, but that would need to be at form level I would guess otherwise overhead would be too much. For some reason I can't put my finger on I don't like the timer idea and think there must be a neater way.
>
>Any ideas?
>
>
>Gary.


Hi,

analternative would be to mimic the Outlook2007 tooltip and forget about the native VFP tooltip as this has a showing delay and difficult to control Font, and more UI.

In case you require Bernard Bout has made a class bbOutlookStyle which I could send you, knowing Bernard approves.

Regards,

Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform