Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modeless form acting as modal form
Message
From
01/10/2004 19:07:35
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00947845
Message ID:
00948128
Views:
18
Borislav - Found the problem

It appears if one of the calling program is modal you cannot use a called form that is set to modeless. In my case an audit menu screen called the audit screen which then the user would use to get to the policy screen and finally the lookup screen on the policy screen. Since the audit menu screen was set to modal it caused the lookup screen to be modal.

Once I made it modeless the lookup screen acts modeless. I really don't want to make the menu screen modeless but don't know if I have a choice.


Thanks

Gaylen




>I've just try with 3 forms & I have no problemm, but it also depends how You run forms? what is in Your methods etc. Can You be more specific How You run form from other form?
>
>
>
>>I will try to rephrase my question and maybe someone has an answer.
>>
>>I have 3 forms which are all modeless. If I have Form A call form B which then calls Form C - Form C although set as modeless Form C act as though it were a modal form. Form C is a small form which contains a grid and a text box only. In order for the user to access anything on Form B they need to close Form C. I want the user to be able to go between Form B and Form C.
>>
>>However, if I open Form B and call Form C, without the call from Form A- Form C acts as though it were modeless and I don't need to close Form C in order to work in form B.
>>
>>Form C's windowstate is set to Modeless in the property manager and I have also put code in the init method to set the windowstate to 0.
>>
>>Never experienced this before and was wonderering if anyone knew a work around or is this a known behavior.
>>
>>Gaylen
Previous
Reply
Map
View

Click here to load this message in the networking platform