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:
00161169
Vues:
29
>Marc,
>
>I'd try putting it in my cForm.ActiveControl_Assign. That would encapsulate it to each form. We still can't attach to _screen unless you are using a top-level form.

Ah. Yes. Makes sense.
>
>I don't like that thought of putting the same code in to all baseclasses either because it makes the classes more tightly coupled. You could use a Hook pattern in GotFocus() to minimize the required method code impact and reduce duplicated code.

You're saying that hooking to a common class is less tight? Hmm. That could be an interesting debate :). Pity that the controls do not have a common ancestor though.

Thanks for your help.

Regards,

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