Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Focus shifts to Calling form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00818877
Message ID:
00819072
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform