Hi there,
this is a newbie question, but how would I create a main menu form and
have this open new windows per button?
Perhaps this helps to understand my question:
I recently set up a new "mobile application" in Visual Basic NET, then
modified form1 and checked my project to use this form on startup.
> this worked as expected.
I then added a new form named "FRM_LOGIN", added some text fields and
labels; after completion I created a new reference
to the new form in my form1
[CODE]
Public frmLogin as New FRM_LOGIN
[/CODE]
and wrote the following lines in my "form1_load" event:
[CODE]
frmLogin.Show()
frmLogin.Focus
[/CODE]
> frmLogin was shown on startup, but both forms closed on hitting the
"Close" cross on frmLogin
Again I added some code to frmLogin on my "Login" button
[CODE]
me.hide
[/CODE]
> this also quit the entire program...
I also had some statement in my "form1_gotFocus" and this also retrieved
some values from my login form but still the entire app was closed...
Any comments are welcome!
Sascha
P.S. I hope my NNTP reader doesn't use HTML encoding? Otherwise please
inform me!