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

1. Does Load or Init of the form return .F. ?

2. Do you release public variable somewhere what has a reference to this form?

3. Can you show the lines of code calling this Modal form?

Thanks.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform