General information
Category:
Coding, syntax & commands
Environment versions
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only