Just a second login form in your main forms OnShow Event. From this allow your user to enter a password etc and if everything is in order, just close the second form and the main form will appear. To close the app from the second form, call application.terminate.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.