MDIForms with log-ins

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have seen it done before but I forgot the systax. How would you have a log in form, show the mdi form, and keep the MDI loaded until the user wants it closed. I don't want to show it modally but I also don't want to load the MDIForm before I know who the user is. It was something about checking to see if the form was created in an infinite do loop...

Thanks in advance

Sean
 
* "=?Utf-8?B?U2VhblBEWA==?= said:
I have seen it done before but I forgot the systax. How would you
have a log in form, show the mdi form, and keep the MDI loaded until
the user wants it closed. I don't want to show it modally but I also
don't want to load the MDIForm before I know who the user is. It was
something about checking to see if the form was created in an infinite
do loop....

Why not hide the login form only if the login was successful?
 
Hi,

Create a form (not a mdichild) that you opens with showdialog in the load
event of the MDIForm the last will not show up when you close it direct in
that same event.

I hope this helps?

Cor
 
SeanPDX said:
I have seen it done before but I forgot the systax. How would you
have a log in form, show the mdi form, and keep the MDI loaded until
the user wants it closed. I don't want to show it modally but I also
don't want to load the MDIForm before I know who the user is. It was
something about checking to see if the form was created in an
infinite do loop....

dim loginform as new loginform

if loginform.showdialog=dialogresult.ok then
application.run(new mainform)
end if


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
Back
Top