>>Surely i'm asking a very basic question of VFP, but i'm losing something:
>>
>>I know that if you want to keep a non-modal form active you must issue 'read events' in the main program. But how to keep a non-modal form called by one modal form active? Is this possible? How?
>>
>>Modal form
>> commandbutton
>> call to non-modal form (it disappears inmediately)
>Carlos,
>
>I don't think you will succeed at this one because;
>
>you hit the button in the modal form
>the click code runs and executes the non-modal form
>the click code completes and focus is again in the modal form
>the modal form will NOT give up focus to the non-modal form
>
>The only solution is to pass a parameter to the non-modal form that tells it to make itself modal this time by changing the windowtype property in the init.
Thanks Jim. I 'm thinking in change my code to do not need this second form.
Carlos.
Saludos,
A.G.P.
---------