Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>>Probably not more than watching the delayed highlight color change from row to row. Maybe there is a way to only call the MouseMove event at increments of time. A timer and something else? Can I take advantage of the MouseMove default behavior, but only when I want to?
>
>It's not clear to me what the problen is. Can you provide more details about what you're trying to acomplish with MouseMove?
I'm popping up a small form (or refreshing labels on the main form, not sure which yet) when the mouse is over a row. This works, but I'm getting flicker because it looks like the MouseMove code is running over and over again very quickly. What I really need is for there to be a delay between the MouseMove code executing. I added one with a DO WHILE loop, but it causes a delay whenever arrows are used to move on the grid, if the mouse is also over the grid. I assume I need the default behaviour of the MouseMove event as it provides the coordinates of where the mouse is. I then use those coordinates to calculate the column and row, then determine the current record of the table. The information from this is what I display on the popup form. The current record does not change - well briefly just to know which one the mouse is over and gather the information - so this works well, except that I would like to control how often the MouseMove code runs.
Update: The title of the main screen is what flickers. If I could just get that to stop, then I would be good to go.
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