Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keeping a form on top
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00584542
Message ID:
00584611
Vues:
30
Hi Michael,

Already tried that. The form is visible very breifly and then immediately goes away. I'm using the following code to instantiate it from the click method of an optiongroup:

Local oForm
If .Value = 2
oForm = NewObject("frmCycleShifts", "Forms")
With oForm
.Show(2)
EndWith
Else
If Type("oForm") = "O"
Release oForm
EndIf
EndIf

The form has the AlwaysOnTop property set to .T. and I tried setting it in the With..EndWith grouping above. The only way I've been able to keep the form visibile is to issue .Show(1), but I don't want it modal...Asking too much ?

Keith
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform