Hi guys,
I'm building a scoreboard for a game called International Rules. The scoring layout is Goals - Overs - Behinds (Total). This would appear on the scoreboard as 00-00-00 (00). The actual buttons are being pressed in Dashboard and this is triggering Xpression.
Everything is working fine, but there's one aesthetic part that I need help on. When the scores are in single digits, I would like the score to have a zero in front of it, (For example, instead of just '3', it would say '03'). I'm actually working off a script built for a scoreboard that only has three scoring fields; 00-00 (00). This means that I can get what I want on one score, but not the others!
That script looks like this:
If CInt(JoeText2.Text < 10) Then
JoeText4.text = JoeText1.text + " - 0" + JoeText2.text + " - 0" + JoeText3.text
Else
JoeText4.text = JoeText1.text + " - " + JoeText2.text + " - " + JoeText3.text
End If
Yes, it was made by a guy called Joe! Can anybody help me out with this?