Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO FORM x TO variable
Message
 
To
02/12/2011 00:41:55
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01530137
Message ID:
01530145
Views:
77
Because In-top level form cannot be modal.

You can use another trick:
- set ShowWindow to 0
- set Desktop to .T.

MartinaJ

>Hi Experts,
>
>Got this error:
>
>The TO clause can only be used with modal Forms and FormSets (Error 1982)
>
>My form settings were as follows:
>
>AutoCenter = .T.
>Desktop = .T.
>ShowWindow = 2
>WindowType = 1
>
>I also have code in the Unload event, that RETURNs the value.
>
>My syntax:
>
>DO FORM myModalForm TO myVar
>
>
>This causes the form to appear quickly then proceed on to the Unload event.
>
>When I change ShowWindow to 0 or 1, it will behave as desired. Why? How come?
>
>Thanks again,
>Dennis
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform