Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My modeless dialog disappears! Urgent! :)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00157310
Message ID:
00157367
Vues:
17
>Hi,
> I wanted to display a form for data entry. I found that I needed to enable
>my menus and thus I had to make the form modeless. However, when I called DO
>FORM, the form just momentarily appeared and then disappeared. Help. What
>should I do?

It sounds to me as if you're binding the form to a variable. The procedure ends, and your variable goes out of scope, thus removing the form. There are several possibilities for fixing this: if you need the return values from the form in the procedure from which you're calling it, put:
DO WHILE WEXIST('My Form Caption')
    DOEVENTS()
ENDdo
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform