how to pause scan endscan  
Author Message
aashishshrestha





PostPosted: Visual FoxPro General, how to pause scan endscan Top

I have a scan endscan, which opens a form. I would like to pause the scan from executing the next line after opening the form. How can I do
code sample:
select somecursor
go top
scan
gather information from somecursor
open a form (wait until the form closes)
execute another line
endscan




Visual FoxPro1  
 
 
Rick Schummer





PostPosted: Visual FoxPro General, how to pause scan endscan Top

You can make the form a modal form. There is a property on the form:

WindowType = 1

If your form is a class

loForm = createobject("YourForm")
loForm.Show(1)