Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set the focus from one form to another
Message
From
17/11/1998 07:30:23
 
 
To
16/11/1998 09:00:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00157792
Message ID:
00158169
Views:
17
>>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.

Thank you for your answer. I am now using the ACTIVATE WINDOW command and that is working fine.
Greetings,

Afier Appelman
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform