Why exactly this works, I have no idea. It does get gotfocus firing again after the page activates though, and the code executes properly. I sure hope that it does not break anything else. I hate kludges.
I'm not following this extremely closely. However, later versions of VFP have gotten increasingly hinky when it comes to the behavior of controls on page frames. There are paint and refresh() issues galore. So on the whole, using the page Activate() method to force controls on the page to do what they should do on their own no longer seems unusual to me, and not a bad solution.
And yes, it's a kludge, a work-around for a fairly annoying set of VFP bugs. Ken Dibble www.stic-cil.org _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

