quote:
Originally posted by factory
sorry didn't say i was using VB.net
that doesn't seem to work
i used this line of code the show command doesn't take any parameters and it won't recognise anything without the brackets
frmXsendIssue.Show(VbModal, Screen.ActiveForm)
what about
frmXsendIssue.ShowDialog()
quote:
Originally posted by Jutx
Public StopThingy As boolean
@ StopThingy (both the name of the variable and the way of coding that)
quote:
Originally posted by Jutx
edit: This is VB6 code by the way you may need to change it to VB.NET (but i'm sure you get the general idea)
in fact, that's VB6
in VB.NET the ".Show vbModal" has been replaced (i think) by ".ShowDialog()"
quote:
Originally posted by raceprouk
I think vbModal stops the user using other windows, that's all.
yes and not. the user can't use the window that "owns" the modal one.
in fact when you .Show vbModal a form, the code from that point isn't executed until the from is hidden (or unloaded? can't remember now). if the vbmodal isn't said, once the form has been loaded and shown, the code after the .Show line is executed.