Re: Form Not Appearing
- From: "Henning" <computer_hero@xxxxxxxxxxxx>
- Date: Mon, 9 Apr 2007 00:43:50 +0200
Inline comments
"Michael" <QmQiQcQhQaQeQlQhQiQmQsQ@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> skrev
i meddelandet news:bP7Sh.7803$NK2.6412@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hifrom
I Have an application with a Splash form (frmSplash) which gets called
a Sub Main() in the modStart module which has the following in:
Sub Main()
frmSplash.Show
End Sub
Sub ClearSplash()
Unload frmSplash
frmMenu.Show
End Sub
What if you change the order to
frmMenu.Show
Unload frmSplash
Or if you move that code to the timer event in frmSplash. Also stop the
timer first.
frmMenu.Show
Unload Me
the
I then have a timer on the frmSplash which calls ClearSplash().
The problem I'm having is then frmMenu never comes up. You can see it in
taskbar and when you do Alt-Tab, if you select it then when you pressenter
it runs btnProfile_Click() as if it's open (5 buttons on the form but onlyload,
one button on the form has code). The code for frmMenu:
Private Sub btnProfile_Click()
frmProfileOptions.Show
Unload Me
End Sub
I've tried loading it and then making it visible, making it visible on
and setting it as the default form to run on execution (when you hit F5)but
nothing seems to get it to show. Any ideas?with
As I said before there's only buttons on the form with only one of them
code so nothing that would cause it to change its appearance./Henning
Cheers,
Michael
.
- References:
- Form Not Appearing
- From: Michael
- Form Not Appearing
- Prev by Date: Re: Form Not Appearing
- Next by Date: Re: Gathering Data from an App opened with Shell
- Previous by thread: Re: Form Not Appearing
- Index(es):
Relevant Pages
|