Hallo Leute!
Ich hab ein kleines Problem. Ich will die Hintergrundfarbe eines Formularfeldes ändern. (Für ein Spiel). Ich gebe auch die richtigen rgb-Werte an, aber Access macht mir da immer nur weiß oder türkis hin.
Ih schreib mal den code hier hin, aber ich meine er ist richtig.
'HP/MP-Warnung'
If fown_hp <= 60 And fown_hp > 30 Then
fown_hp.BackColor = RGB(255, 255, 0)
Else
If fown_hp <= 30 Then
fown_hp.BackColor = RGB(255, 0, 0)
Else
fown_hp.BackColor = RGB(255, 255, 255)
End If
End If
Danke Schonmal
Coldfist
Ich hab ein kleines Problem. Ich will die Hintergrundfarbe eines Formularfeldes ändern. (Für ein Spiel). Ich gebe auch die richtigen rgb-Werte an, aber Access macht mir da immer nur weiß oder türkis hin.
Ih schreib mal den code hier hin, aber ich meine er ist richtig.
'HP/MP-Warnung'
If fown_hp <= 60 And fown_hp > 30 Then
fown_hp.BackColor = RGB(255, 255, 0)
Else
If fown_hp <= 30 Then
fown_hp.BackColor = RGB(255, 0, 0)
Else
fown_hp.BackColor = RGB(255, 255, 255)
End If
End If
Danke Schonmal
Coldfist