Error when using +=1 and -=1
Posted: Thu Nov 18, 2004 4:53 pm
I have created a script device which I use to set the volume level of a zone in my AV distribution system serial device. The script device contains a Volume property which is a numeric property with a range of 0 to 40. I have property change buttons bound to this property that send +=1 and -=1.
The problem I have is that once the volume is at 40 you can continue to push the Volume Up button but HouseBot complains. It doesn't cause any problems but I'd just like to find an elegant way to handle this. Can anyone suggest a way to handle this or is this something I just shouldn't worry about?
-- Dave
The problem I have is that once the volume is at 40 you can continue to push the Volume Up button but HouseBot complains. It doesn't cause any problems but I'd just like to find an elegant way to handle this. Can anyone suggest a way to handle this or is this something I just shouldn't worry about?
-- Dave