A
Alan
Hello All
Looking for a quick bit of advice ... I have a Form which currently contains
numerous buttons. I change the colour of the Font on each button using and If
loop ... ie if 0 then Green if greater than 0 red
If Startup.btn1.Caption = 0 Then
Startup.btn1.ForeColor = 32768
Else: Startup.btn1.ForeColor = vbRed
End If
Given the number of buttons on the form, I am seeking a way that once the
caption value is calculated then one process will do all the red/green
updates ??
Is there a simple way to do this or do I need to leave the cumbersome code ??
Many Thanks for any help
Looking for a quick bit of advice ... I have a Form which currently contains
numerous buttons. I change the colour of the Font on each button using and If
loop ... ie if 0 then Green if greater than 0 red
If Startup.btn1.Caption = 0 Then
Startup.btn1.ForeColor = 32768
Else: Startup.btn1.ForeColor = vbRed
End If
Given the number of buttons on the form, I am seeking a way that once the
caption value is calculated then one process will do all the red/green
updates ??
Is there a simple way to do this or do I need to leave the cumbersome code ??
Many Thanks for any help