Forum

> > Off Topic > Something is wrong...
ForenübersichtOff Topic-ÜbersichtEinloggen, um zu antworten

Englisch Something is wrong...

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: Something is wrong...

DannyDeth
User Off Offline

Zitieren
You've nested your if statements, checking if a = 1 whilst inside something which has just shown that a = 0 will always return false.

alt Re: Something is wrong...

Dousea
User Off Offline

Zitieren
Don't know anything about Visual Basic language. But maybe it would help.
1
2
3
4
5
6
7
8
9
10
PictureBox1.visible = False
PictureBox2.visible = False
PictureBox3.visible = False
If a = 0 Then
	PictureBox1.visible = True
ElseIf a = 1 Then
	PictureBox2.visible = True
ElseIf a = 2 Then
	PictureBox3.visible = True
End If
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenOff Topic-ÜbersichtForenübersicht