Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My Window Acts Inactive???
Message
From
22/08/1996 15:29:52
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00006448
Message ID:
00006451
Views:
55
>>I have two windows that were designed in the form builder. In my application they function as designed when called from anything but an IF ENDIF statement. When called from an IF ENDIF statement they appear on the screen, but act inactive? What's up?
>>
>>John Dennis
>>Dakota Data Technologies
>>datatech@rushmore.com
>what is in your if endif condition?

One if endif condition is in the menu. It checks to see if there are any other windows open and then refuses to allow a new winodw to open if there are. Like this:

IF winop=1
DO about.spr
ELSE
WAIT "Please Close Active Window First" WINDOW
ENDIF

The second is a list of active invioices that may be deleted. It looks something like this:

DO delprompt.spr
*delprompt does the old standard " is it ok to delete this invoice?"
*and returns a variable ynresp.

IF ynresp=1
DO ipick
ENDIF

Both ipick.spr and about.spr run fine and function as designed outside of the IF ENDIF conditions. ipick is called from one other routine in which there is no condition checking done. It functions perectly. Crazy?

jd
Previous
Reply
Map
View

Click here to load this message in the networking platform