try using more widely-spaced intervals for your button codes
First thing I thought of. No, it's not that. All calls to the "point" command result in the same return value no matter what the color at that point is. Even if the difference between the two is 000000 and FFFFFF. I'm going to investigate it more.
_________________________
Tony Fabris