Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making a Form Class modal
Message
De
17/05/2006 19:51:45
 
 
À
17/05/2006 12:43:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01122847
Message ID:
01123060
Vues:
14
>I am trying to make one of my Form Classes Modal by simply selecting 1-Modal from the WindowType Property drop down in the Other tab of the Properties window. However, everytime a select Modal it doesn't do it [the selection re-sets to 0 - Modeless]. The thing is that I had this selected as 1-Modal previously but somehow it got re-set to Modeless and I can't seem to put it back to Modal. Can anyone give me some direction here?

You set the modal (or modeless) at run-time when you create an instance of the form:

loForm = NEWOBJECT("FormClass","FormClassLib.vcx")
loForm.Show(1) && To make modal

or

loForm.Show(2) && To make modeless
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform