Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Commands to Hide screen
Message
De
18/02/2009 08:41:08
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01382417
Message ID:
01382613
Vues:
73
>>>Most of my applications run inside a main fox window.
>>>
>>>This is ok, but I have a need to do the following.
>>>
>>>At present I need to see the screen on startup so that my splash and login screens show. (If I knew what to do, maybe I could do it with the screen not visible) After a successful login, I want to display only the data entry screen, no menu, no foxpro screen etc. Just the single form. I also would like to stop with a read events at this point as well. When the user closes the form the application will close.
>>>
>>>Ideas?
>>
>>Make the splash and login forms top-level forms.
>>
>Top Level change made. I call a login screen from an application object. When it is in the fox screen, it stops as a modal form waiting for user to enter their password and name. Now when I call it, I get an error: Cannot change modality of a visible form (In the code in the application object is a SHOW(1), and this is causing this.) So I removed the call to the show, and the form does not appear anymore, or is it happening too fast??? I need it to stop so user can enteer their name and password.

You can't combine top-level and modal. So use READ EVENTS.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform