>Hello,
>
>I am using Visual FoxPro 6.0. I have two forms opened at the same time on the screen. They are not set in a Formset. Now I want the following: When I press a button on the first form, I want to set the Focus to the other one. How can I do that?
>
>Thank you in advance.
You should provide two steps:
1. Call another Form.Show method (using direct form reference) to make that form active.
2. Form.Activate event should setfocus to appropriate control. It can be done by pre-setting some higher-level object property.
Edward Pikman
Independent Consultant