Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hotkey Puzzle.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00160431
Message ID:
00161169
Views:
24
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform