Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET FOCUS,ACTIVATE WINDOW not working, why?
Message
From
03/07/1998 12:46:33
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00113956
Message ID:
00114108
Views:
19
>I have several objects (text boxes) where, after they lose the focus, I have it set to focus on a different object, then the new object gets the focus, and then all of a sudden it jumps to another object(kind of pressing enter on that object) which has nothing to do with it.
>
>It happens in several combinations of situations; from a text box inside of a page frame to a text box in a grid and viceversa.
>
>As well I'm trying to activate a form, which automatically loads with my main form but with a NOSHOW statement, and when I'm done with a transaction I activate it, it flashes and then goes back to the calling form.
>
>Why this behaviour? I think I'm doing everything the right way, but still all this is happening. Is it the refresh or activate methods in the main form that are messing things up? or what?, I've spent already too much time in something that should work without problems.
>
>Please advise,
>
>Thanks,
>
>Gil

Jim already addressed your post, mine will just talk about a particular situation I experienced with two forms in the main VFP window. I was having problems activating another form that was created in the init of a main form (sort of like a child form). This child form was being positioned relative to the coordinates of the first form. The thing was that I could not activate that child window with the normal 'Activate Window'. The solution wasn't very pretty but it did the trick for me:
Mouse Click At 1, 1 Window ChildName
There will probably be several critics on this post.
Previous
Reply
Map
View

Click here to load this message in the networking platform