General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only