Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SHOW/HIDE problems
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SHOW/HIDE problems
Miscellaneous
Thread ID:
00195134
Message ID:
00195134
Views:
61
I don't know what to call this problem really, but I can hide a form
and show another form, then when I want to return to the first form, I hide the second and show the first, but right there the debugger pointer stops.

The controls still respond to the mouse (like Next and Previous buttons), but the step by step doesn't show anymore on the debugger.

I have tried it with Read Events on and off with no difference shown. Both forms are window type modal.

Any ideas of what I could try? I took the code out of the Click method and put into a PRG procedure (and call it from the Click method):

PROCEDURE hide_and_show_1
form1.hide()
form2.show()
RETURN

PROCEDURE hide_and_show_2
form2.hide()
form1.show()
RETURN

I have tried putting a 1 in the show [such as form2.show(1)] with no difference.

I am using VFP 5.0 with Service Pack 3.

The crazy thing is, this used to work fine, but now it won't.

I just don't know what else to try. Or, what is the possible problem.

Thank you.
Tom Hayward, Visual FoxPro Programmer and Tutor
Next
Reply
Map
View

Click here to load this message in the networking platform