Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Container class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00548574
Message ID:
00548659
Vues:
16
>>>>How much of the container does the shape cover? If everything then only the shape's MouseMouse event will fire. You will need to add to the shape's MouseMouse event to pass the event up the chain to its parent.

>>>Larry,
>>>
>>>That's my thought too. Didn't Nick N. write an article for FPA on doing this? Last December, I think.
>>
>>Hi George,
>>I just looked it up. His was based on Clicks but I think he did use the same technique of passing the event on. I usually use this technique with respect to Error handling.
>
>Mouse Click, Mouse Move, same difference.< bg > That's right, it was about making things click transparent. In this case, it would be move transparent, but since they're both events that VFP monitors in every visible control, the same technique should work fine.
>
>Didn't Nick's grid highlighter here in the download section have a sample of this or is my recollection incorrect?

Not the GridHighlighter, but Grid DragDropper does something similar. While the grid is covered with click-transparent shape you still can make the text selection in a grid column textbox with the mouse through the covering shape. But MouseMouse (errr... MouseMove, sorry Larry, could not resist :) for the underlying control is not used there.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform