Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modeless form acting as modal form
Message
From
01/10/2004 06:56:41
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00947845
Message ID:
00947863
Views:
14
Borislav
This is the code in a command button on Form master to call form calc_cop

On command button on form master
DO FORM  calc_cop WITH thisform.sif_no ,thisform.fund_yr
Form comes up modal

This is the code in a command button in Audit form which call the master form.
DO FORM master WITH thisform.sif_no, .t.
Now when I call cal_cop the form act as a modal form
Thanks
Gaylen



>I've just try with 3 forms & I have no problem, 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