Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal to modeless at a runtime
Message
De
31/05/2015 08:02:11
 
 
À
31/05/2015 05:56:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP3
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01620405
Message ID:
01620406
Vues:
77
>Is there a way to switch window type property at a runtime from modal to modeless and oposit. I want to forbid user navigate to other open window in vfp app when i start some action till job is done. Maybe some other solution?
>
>Thanks in advance.

Hi Zoran:

Yes, there is a way, but just for a form class (vcx), not a form in scx.

When you instance a form clase with oFrm=createobject("your-form-class"), you then can do this:

oFrm.Show(1)

-or-

oFrm.Show(0)

Each one load the form Modal or Modeless.

Ragards.-
Fernando D. Bozzo
Madrid / Spain
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform