Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My modeless dialog disappears! Urgent! :)
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00157310
Message ID:
00157367
Views:
21
>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform