Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keeping a non modal form active.
Message
From
17/06/1998 09:37:06
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00108964
Message ID:
00109047
Views:
66
>>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.
---------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform