Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RightClick-ing when a pop-up menu has been activated
Message
De
08/02/2007 09:06:42
 
 
À
07/02/2007 17:58:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01192629
Message ID:
01193566
Vues:
11
This message has been marked as the solution to the initial question of the thread.
Yes, I see it now. It looks like a bug. You can workaround it by checking mrow(),mcol() in Form.rightclick and block code there if it's in grid area.

>Edward --
>
>Yeah, that's how I always thought it worked as well. But, I'm experiencing something different. The steps:
>
>(1) Right-click on grid to activate pop-up menu
>(2) Move mouse pointer anywhere else on the form (without traversing the popped-up menu).
>(3) Right-clicking.
>
>When I do this, the original pop-up menu disappears and the RightClick method for the form is invoked. From then on, rightclicking anywhere always invokes the RightClick for the form.
>
>The only way I am able to get re-invoke the RightClick for my grid appears to be if I first use the Esc key.
>
>Ain't that peculiar?
>
>Thanks,
>
>Jim
>
>>>Odd, I've never asked a question before with no responses ... I'll take the lack thereof to indicate that nobody has seen this before.
>>>
>>>Thanks
>>>
>>>>I've encountered the following curiosity:
>>>>
>>>>When I right-click on any of my grids, I bring up a pop-up menu containing a few choices for the user.
>>>>
>>>>Now, if I move the mouse elsewhere on the grid, and right-click again (with the previous pop-up menu still active), the rightclick method for the form is called -- not the rightclick method for the cell I've actually right-clicked on.
>>>>
>>>>And, even curiouser -- if, while the first pop-up menu is up on my screen I move the mouse over any of the choices and then move the mouse elsewhere on the grid and right-click, I do get the the rightclick method for the cell I've right-clicked on.
>>>>
>>>>Anybody ever seen this behavior before? Anything I can do about it?
>>>>
>>>>Thanks in advance,
>>
>>When popup is open it waits for your next move, i.e. next right-click will just close it and nothing else, and then to open it you should right-click again. It is quite normal behavior.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform