jkw119
Jun 12th, 2002, 01:00 PM
I am having trouble with the showdialog. I have a Main form, when you hit the button, it then loads a form by this method
HForm.ShowDialog()
System.Windows.Forms.Application.DoEvents()
but, then i have a next button on the Hform which does the following:
HForm.Hide()
System.Windows.Forms.Application.DoEvents()
TravelForm.ShowDialog()
System.Windows.Forms.Application.DoEvents()
now, the travelform is not becoming modal over the mainform...
does anyone have an idea of what might be wrong? thanks...
HForm.ShowDialog()
System.Windows.Forms.Application.DoEvents()
but, then i have a next button on the Hform which does the following:
HForm.Hide()
System.Windows.Forms.Application.DoEvents()
TravelForm.ShowDialog()
System.Windows.Forms.Application.DoEvents()
now, the travelform is not becoming modal over the mainform...
does anyone have an idea of what might be wrong? thanks...