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
Title:
Windowstype property and error 1743
Miscellaneous
Thread ID:
00644162
Message ID:
00644162
Views:
66
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.
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Next
Reply
Map
View

Click here to load this message in the networking platform