>>>> .. every time I get into the init event
>>>> of the data envrnment, I am sent back to the command window?
>>>> It looks like a bug in vfp50. can you help?
>>>>
>>
>>From the project manager or form MODIFY FORM, I can modify the INIT event of the DATA ENVIRONMENT but, from the command line using a DO MYFORM.PRG, I cannot. This MYFORM.PRG has some code that says MODIFY FORM myform.
>
>I'm jumping over to this copy of the thread...
>
my answer....
I guess my first question is - Why are you trying to modify a form from a .prg to begin with? To my mind, that's what the Project Manager is for.
I do not use the Project Manager...maybe I should. I am an clipper(dos)
programmer moving to vfp50.
The next question is - Does the Form designer appear when you run this .prg? yes - If it does, can you edit other aspects of the form, such as the layout or methods? yes
The next - When your .prg is running, is the View menu visible? That is where you would have access to the Data Environment. yes
And going back to the first - Why do you want to run a .prg to edit this form to begin with? You are right, I should work off the Project Manager,
but there are many times when I test my code off the command window in
small programs and it would be a problem for me to go in and out of the Project Manager.....
thanks rob