Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Container class
Message
 
À
24/08/2001 09:23:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00548574
Message ID:
00548580
Vues:
11
Valentin,

It sounds like you need to add code to each one of the controls that you place inside the container to have a MouseMove method of:

DODEFAULT()
This.Parent.MouseMove()

Doug

>Hello everybody!
>I am having a problem or not doing something rightly, please help.
>I have a container class with a custom mouse move method defined. I want this method be inherited every time of this class. It works only if I don't have any objects inside of container, but not otherwise.
>
>Here is more details:
>Container class - mcontainer - has custom mcontainer.MouseMove Event.
>I create another class testcont, when I drop it on the form, it works and Mouse Move Event works also.
>If I add, for example, shape in testcont class and then plase it on the form only shape.MouseMove will take control, not testcont.MouseMove, but I need a container's MouseMove Event to fire.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform