Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement