Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hotkey Puzzle.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00160431
Message ID:
00160928
Vues:
21
>Marc,
>
>If you are using VFP6 maybe ActiveControl accessor methods could be used? I'd "register" the .Name instead of a real object reference to help stay away from dangling references.
>
>>But then, I think that one should use the form and that each control that gets focus should register itself somehow.

Hi David,

You mean _screen.activeform.activecontrol.name.accessor(), that is triggered each time vfp changes the vale of the name of the activecontrol?

Right! But VFP6 has not landed on my PC yet :(. But you're right, that would be nice, because having controls registering themselves in the form would mean that I have to code that in each base class, and containers (grids, pageframes etc...) would definitely pose problems I do not even want to look into at this stage.

Thanks.

Marc

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

Click here to load this message in the networking platform