Making a traffic light color app and cannot figure out how to handle a negative value ( -0.5) to make a panels BackColor = Color.Yellow
Please see attached imageCode:If CDbl(TxFrontThrustAfter.Text) < 0.0 And CDbl(TxFrontThrustAfter.Text) > -0.5 Then PnlFrontAfterThrust.BackColor = Color.Yellow End If
![]()




Reply With Quote