Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal, Modeless
Message
De
27/08/2001 01:07:12
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
27/08/2001 00:59:54
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00549347
Message ID:
00549349
Vues:
21
>hello everyone,
>
>in the form designer i have set a form to modal, and added some codes on it.
>
>then I run the form in another program by "do form MyForm to MyVar", it says I can't use the "to" clause because MyForm is not modal...

Sounds modeless to me. Is this a subclass of something? Did you use the Form wizard to make it? Are you using a framework? What version (and build #) of VFP are you using?

Put code in the init that you can put a break point, check the state in the debugger.

>also when i run the .exe, the form disappear immediately after it show up -- exactly the same as a modeless form..

Could also be due to INIT() returning .F. Or some control on the form failing to instantiate can case the whole form to die, too.

>But why? What did I do that cause the modal form to act as a modeless one? Any idea please?

DO FORM MyForm Name linked NOSHOW
myForm.show(1)


Would do it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform