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
VB Code:
HForm.ShowDialog() System.Windows.Forms.Application.DoEvents()
but, then i have a next button on the Hform which does the following:
VB Code:
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...




Reply With Quote