Nolanc
asked on
MDIParent Form Double-Click Event Does Not Fire - VB.NET
Hi
I hope somebody can assist Me with the following problem:
My startup form is my MDIParent form named FrmMain. After this form shows I have a Timer Control which executes the Following code and works as I want it to:
Timer_Click .......................... .......... .....
Dim Myform As New FrmLogo
MyForm.MDIParent = Me
MyForm.Show
End Sub
The above works perfectly.
The User now closes this Logo Form when he is sick and tired of it.
Now I want to recall this form with the same logic as above but in FrmMain's Double-Click Event.
Amazingly enough, nothing happens.
Can somebody please provide me with a pointer as to what I am doing wrong. I am using VB.NET in Visual Studio 2008 under Windows XP Professional.
Thanks.
I hope somebody can assist Me with the following problem:
My startup form is my MDIParent form named FrmMain. After this form shows I have a Timer Control which executes the Following code and works as I want it to:
Timer_Click ..........................
Dim Myform As New FrmLogo
MyForm.MDIParent = Me
MyForm.Show
End Sub
The above works perfectly.
The User now closes this Logo Form when he is sick and tired of it.
Now I want to recall this form with the same logic as above but in FrmMain's Double-Click Event.
Amazingly enough, nothing happens.
Can somebody please provide me with a pointer as to what I am doing wrong. I am using VB.NET in Visual Studio 2008 under Windows XP Professional.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi
Thanks for your contributions. They have at least provided a way around a poor showing from Microsoft. How can you provide events that are in 'Sleep" mode.
Many thanks.
Thanks for your contributions. They have at least provided a way around a poor showing from Microsoft. How can you provide events that are in 'Sleep" mode.
Many thanks.
What did you mean by this question?
"How can you provide events that are in 'Sleep" mode."
"How can you provide events that are in 'Sleep" mode."
MyForm.ShowDialog
That shows MyForm as a modal form with the main form set as its owner.