Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form won't stay open
Message
From
17/05/2009 16:31:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Form won't stay open
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01400297
Message ID:
01400297
Views:
139
Hi,

I have a problem that I can't seem to solve.

I have a simple form (modal) that I am trying to open from a main PRG. The form has one combo box bound to a table. The purpose of this form is to allow user to select a record from this .DBF file. The problem is that the form never stays open. If I insert a bunch of MESSAGEBOX I can see that the form SHOWs and then automatically closes.

The reference to the object of this form is a PUBLIC variable. As I already mentioned, the form is Modal and I tried to set the property ShowWindow to every possible value. Interesting is that after this form is supposed to open another form is opened and the second one shows and stays open. But the simple one with the combobox won't stay stay open.

What could be the problem?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform