Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO FORM x TO variable
Message
 
À
02/12/2011 00:41:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01530137
Message ID:
01530145
Vues:
84
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform