Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to force a window to raise itself to the front
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01278287
Message ID:
01278586
Vues:
92
This message has been marked as the solution to the initial question of the thread.
:) Actually this form I have was a Modal form and it had this same issue of being somewhere I can see but cannot click on it to get focus and rid of. Thus, I made it Modaless now I want to raise it to above all so at least the user can click it away.

When the modal form gave you this problem, did were you setting irts AlwaysOnTop property to .T. to make sure it was tjhe top window? Over the years I have found that setting the AlwayOnTop property to .T. causes problems. So I have code like this in the activate() of my base form class and it seems to work pretty well:
IF This.WindowType = 1 &&Modal
  This.AlwaysOnTop = .T.
  This.AlwaysOnTop = .F.
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform