Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying login dialog box on top of main MDI form

Status
Not open for further replies.

WETFOX

Programmer
Jun 23, 2002
61
SA
What is the right approach to do on displaying a login box on top of main MDI form. I have an MDI form and a datamodule that are created automatically. I'm not concerned whether the login box is child window or not since at the application startup, this login form should be displayed atop MDI form (MDI form is freeze). When the user failed to log, of course the application quits.

ERA
 
use form.showmodal and check the form.modalresult to check
what button the user clicked on. modalresult property must also be set on the buttons.

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top