主题:请教VB中Combo控件
一段代码
If Combo11.Text = "步兵" Then
Print #1, "MovementZones" + "="; Infantry; ""
If Combo11.Text = "飞机" Then
Print #1, "MovementZones" + "="; Fly; ""
If Combo11.Text = "战车" Then
Print #1, "MovementZones" + "="; Destroyer; ""
If Combo11.Text = "船" Then
Print #1, "MovementZones" + "="; Water; ""
End If
End If
End If
End If
这样写行吗?为什么测试时没用?还是VB不支持中文?
If Combo11.Text = "步兵" Then
Print #1, "MovementZones" + "="; Infantry; ""
If Combo11.Text = "飞机" Then
Print #1, "MovementZones" + "="; Fly; ""
If Combo11.Text = "战车" Then
Print #1, "MovementZones" + "="; Destroyer; ""
If Combo11.Text = "船" Then
Print #1, "MovementZones" + "="; Water; ""
End If
End If
End If
End If
这样写行吗?为什么测试时没用?还是VB不支持中文?