>>I have a form with a command button on it.
>>In the click() event of the command button I'm using a DO FORM myformname
>>
>>Now where the heck does foxpro create the 2nd form's object?
>
>From your other form 'myformname'.scx, or what is even more likely, I don't really understand your question.
>
>Alan
Ok let me explain the question better.
1. I have a form with a command button on it. (myform1.scx)
2. The click() event of the command button says this: DO FORM myform2.scx
3. I run this form from the command window (DO FORM myform1.scx)
4. When I run the debugger, I can see the form in the watch window and the locals window. (as type Object of course)
5. I click on the button, and the second form runs.
6. Now I don't see the 2nd form in the debugger anywhere - where the heck is the object? Seems like the object would be either at the _screen level, the 1st form's level, or in the 1st form command button...
ICQ 10556 (ya), 254117