Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Container and mouse events
Message
De
16/09/2003 10:56:56
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00829417
Message ID:
00829420
Vues:
20
>I have a container class in vfp7. The container contains a variety of controls such as shapes, labels... etc. The container has a mouseenter and mouseleave event routine for displaying/removing a popup editbox. Unfortunately the mouseenter fires when you enter the container then mouseleave fires when you pass over any control in the container. While I can understand that this may be the intended behavior, is there any way to make it so that mouseenter and mouseleave fire when entering and leaving the container only?

Joe,
A transparent container covering all would do it but might be cumbersome to write 'pass-click' codes.
You might instead check if the object is a member of container (or one of its object members) in MouseLeave.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform