Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing _screen
Message
From
03/08/1999 18:58:58
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00249281
Message ID:
00249487
Views:
18
Jim,

In an effort to become really, really skilled, I am reading "Effective Techniques....". Just so I know, what chapters am I allowed to ask you questions about???

PF

>do form formname
>read events
>
>Kris,
>
>Your problem is in the code above. Here's the sequence of things. You DO FORM, the form's Load runs, then the Form's Init runs, you release the form and issue the CLEAR EVENTS, then the READ EVENTS is encountered and it keeps the app running. Your code is issuing the READ EVENTS after the CLEAR EVENTS. Try changing the code to this;
>
>>pre>
>DO FORM FormName NAME loForm
>IF TYPE("loForm.Name") = "C" && The form exists
> READ EVENTS
>ENDIF
>

(On an infant's shirt): Already smarter than Bush
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform