Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stay on the same control when click the button!
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01006656
Message ID:
01006722
Views:
20
>Fabio is right. I just test it.It is because that property point to object within the form where it is created. After destroing the form that property disapears and the the object it holds also is gone. If this property holds an external to form object you can't close the form until external object is alive :o)))

Yes, I just tested it too :) Ok, one thing less to worry about.

But actually Al has to combine your's and Glenn's solution.

E.g. Textbox class should set thisform.oLastActiveControl = this in its GotFocus method. Because I found, that if you use Tab to move to command button, the code is not firing.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform