Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Temporarily Deactivating Form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Temporarily Deactivating Form
Miscellaneous
Thread ID:
00021190
Message ID:
00021190
Views:
73
I have a form called MENU that has a bunch of buttons and other controls on it. This form calls a bunch of other PRG's (hence 'MENU'). It seems to be working mostly correctly but the system started sorting thru a bunch of records prior to running the READ in the PRG that is called. When I go to debug, however, everytime I get the system to pause, the MENU form pops back up and takes control of all input. This might somehow be happening because all of the controls on the form except one have a gotfocus method that setfocuses to the one main control on the form. But the form is hidden at the time that this happens.

I currently am doing the following:

Initially:
DO FORM Menu
READ EVENTS

Then from the CLICK method on one of the button controls:
THISFORM.HIDE()
DO Edit
THISFORM.SHOW()

Any ideas?

Thanks in advance...
Next
Reply
Map
View

Click here to load this message in the networking platform