Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form as main form
Message
De
14/11/2011 14:49:39
 
 
À
14/11/2011 11:09:17
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01528841
Message ID:
01528862
Vues:
121
This message has been marked as the solution to the initial question of the thread.
>Nowadays I'm working with Axapta and see that; every form work as main form at desktop. Axapta creators decided it's more usable for end users. I think they right. I tried that at my application and faced with a problem with modal forms. Other forms can be select even form selected as "modal" when all form selected as "main form". Is there any way to fix it?

Not directly that I know of. You could cycle through the _SCREEN.Forms() collection and disable each form to prevent others from being selected. Something like
FOR lnForm=1 TO _SCREEN.FormCount
    IF _SCREEN.Forms(lnForm).Name != thisform.Name
        _SCREEN.Forms(lnForm).Enabled = .F.
    ENDIF
ENDFOR
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform