General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only