Attribute self.Color does'nt work? why? please help
venon_it
Member, PRO Posts: 594
I am creating an application where you change colors, but it does'nt work .. Why?
i insert this function:
after 2 sec:
change -> self.Color.Red to 0,5019608
change -> self.Color.Green to 0
change -> self.Color.Blue to 0
after 3 sec:
change -> self.Color.Red to 0,5019608
change -> self.Color.Green to 0,2509804
change -> self.Color.Blue to 0
after 4 sec:
change -> self.Color.Red to 0,6428571
change -> self.Color.Green to 0,3228267
change -> self.Color.Blue to 0,001329592
etccc etccc
ut it does'nt work .. Why?
if i change the number from 0,001329592 to 1 or 0 it function .... why? it is bug?
i insert this function:
after 2 sec:
change -> self.Color.Red to 0,5019608
change -> self.Color.Green to 0
change -> self.Color.Blue to 0
after 3 sec:
change -> self.Color.Red to 0,5019608
change -> self.Color.Green to 0,2509804
change -> self.Color.Blue to 0
after 4 sec:
change -> self.Color.Red to 0,6428571
change -> self.Color.Green to 0,3228267
change -> self.Color.Blue to 0,001329592
etccc etccc
ut it does'nt work .. Why?
if i change the number from 0,001329592 to 1 or 0 it function .... why? it is bug?
Comments
0,501
Then it is because of the comma.
It should be written
0.501