Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form won't stay open
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Form won't stay open
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01400297
Message ID:
01400297
Vues:
137
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform