troubleshooting Question

Creating a Login form with Delphi

Avatar of rhoworks
rhoworks asked on
Delphi
10 Comments1 Solution7577 ViewsLast Modified:
I am having trouble creating a Login screen for my application. The problem is that I want this form to load first (like any login screen :) Then, if the entered password is not correct,  the program should close. Otherwise, the login window should close itself (not the program) and pass control to the main window, which has not been made visible or loaded yet.

The difficulty is that If I make the LOGIN to be created first and then HIDE it later and 'modalshow' the real main form of the application... then, when the main window is minimized, its icon remains on the desktop.

Any feedback?
ASKER CERTIFIED SOLUTION
TheNeil

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros