Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Button wont click after show
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Button wont click after show
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01574948
Message ID:
01574948
Vues:
103
I have a series of forms. I use a cursor to determine which have been opened. The user can navigate using next and previous buttons.

The forms inherit navigation controls from a VCX form.

The user clicks next/prev. If a form hasnt been opened I run:

thisform.hide
DO FORM n

If it is open, I run:
thisform.hide
NewForm.show

If I open form 1, hide it, do form2, hide it, and show form one, things get strange.

After the show form2 runs, the form comes up, but clicking on the next button does nothing, the code doesnt fire. the other buttons work. Also, the debugger stops after the show, the next line button is disabled.

The forms are all modal. I think it stops because it never finished executing the Next button code, and doesn't want to run that code again.

thanks,

Hans
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform