Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windowstype property and error 1743
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00644162
Message ID:
00644174
Views:
16
See faq #7921 How can I make my form Modal/Modeless on the fly.

>Hi,
>I have 2 forms that I would like to make modal when they are called from another form but if it's called from the menu system it would be modeless.
>
>So what I did is on the first form is on the INIT method I put
>
>if pcount() > 0
> *!* Put the form modal
> thisform.windowstype = 1
> *!* Other code follows to prefill the form and wait for the user to save
>endif
>
>This works fine on the first forms but on the second form I get a error 1743 - the property is read only. Any ideas?
>
>Then I though of maybe using THISFORM.SHOW(1) to make the form modal but I am not able to RELEASE the form after the user has saved the changes. I can only hide it.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform