Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>>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?
>
>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.
not tested, only to play devils advocate:
Do form Name goFrm
or (walking the form collection, getting a reference there
or in a form[member] method via store thisform to a global variable or goApp.oForm) ?
and then issuing on that form reference a .Show(0)/.Show(1)
to say it with the Small Faces: Lazy Sunday Afternoon
here ;-))
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement