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:
00160928
Views:
14
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform