Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activecontrol in container puzzle
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00080275
Message ID:
00080282
Vues:
33
>Marc, if the grid is indeed in the container (rather than just visually sitting on top of it), then the full object hierarchy should indeed contain the name of the container. However, the last item in the hierarchy will be the name of the active control contained in the container (i.e., the grid).

True, but I would have expected that for the form (i.e. at Thisform level) the active control would be the container, which BTW has its own activecontrol property.

Now you have to 'name' (read identify) the controls within the container and differentiate them from controls on the form or in other containers in order for the form.keypress method to detect them as activecontrol. Less information hidde, less polymorphe... I would think. :)

Thanks,

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform