Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stay on the same control when click the button!
Message
From
20/04/2005 18:02:14
 
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:
01006777
Views:
17
One more thing, my solution will not use an object reference so there is no need to clean-up.


>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform