Jerre
New member
I am making a simple game and for a "battlescreen" I need to have a modal form (the battle screen) in a modal form (the levelmap).
This is what i have
It doesn't work the way I've written it now and it doesn't work without the messagebox. If there's a way to have a modal form in a modal form, please tell me.
This is what i have
VB.NET:
If Guy.Top = 20 And Guy.Left = 40 Then
If MsgBox("Grab your weapon, there's an enemy up there!", MsgBoxStyle.OKOnly, "Prepare for a battle") = MsgBoxResult.OK Then
Dim Bttl As BattleScreen
If Bttl.ShowDialog(Me) = System.Windows.Forms.DialogResult.OK Then
End If
End If
End If