Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Button wont click after show
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01574948
Message ID:
01575043
Views:
69
Yes, execution will stop on DO FORM because the form is modal

>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
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform