Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Focus shifts to Calling form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00818877
Message ID:
00819072
Views:
13
Rex

A trick I use (and may have learned on this board) is activate the form I want on top and set focus to one of its controls.
MyOtherForm.Activate
MyOtherForm.MyTextBox.Setfocus
>Hi,
>
>I have a modeless form and a menu that allows other forms to be called. In fact, there may be forms calling other forms up to seven levels deep. In general, everything behaves itself and releasing one forms moves 'focus' to the calling form, etc.
>
>However, on occassions I have found to my surprise that focus suddenly moves to the modeless form, bypasses the other intermedia forms - leaving them open and on top. I use no 'modelessobject.setfocus()' commands and am at a loss to explain why this randomly occurs.
>
>Am I looking at a VFP7SP1 bug or other undocumented feature? Have I run out of resources? Has anyone come across this before?
>
>Any suggestions would be most appreciated.
>
>Regards...Rex
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform