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
Titre:
Windowstype property and error 1743
Divers
Thread ID:
00644162
Message ID:
00644162
Vues:
67
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.
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform