Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement