Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windowstype property and error 1743
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00644162
Message ID:
00644174
Vues:
17
See faq #7921 How can I make my form Modal/Modeless on the fly.

>Hi,
>I have 2 forms that I would like to make modal when they are called from another form but if it's called from the menu system it would be modeless.
>
>So what I did is on the first form is on the INIT method I put
>
>if pcount() > 0
> *!* Put the form modal
> thisform.windowstype = 1
> *!* Other code follows to prefill the form and wait for the user to save
>endif
>
>This works fine on the first forms but on the second form I get a error 1743 - the property is read only. Any ideas?
>
>Then I though of maybe using THISFORM.SHOW(1) to make the form modal but I am not able to RELEASE the form after the user has saved the changes. I can only hide it.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform