Well my code was buggy, but that wasn't the problem.  This error is very weird. 
 If you have a sec, download the code, and the X.TGA to run it for yourself.

setred(xbut,0,0,240);
Results in pixel 0,3 turning red only.

setred(xbut,0,1,240);
 Results in pixel 0,3 turning red only.
 
setred(xbut,0,0,240);
setred(xbut,1,0,240);
  Results in pixel 0,3 turning red and pixel 0,0 turning red.
 Maybe 1,3 and 1,0 turn red too: can't tell

setred(xbut,0,0,240);
 setred(xbut,1,0,240);
  setred(xbut,0,1,240);
 setred(xbut,1,1,240);
  Works correctly and turns pixel (0,0)(1,0)(0,1)(1,1) red

This is very strange behavior.




 
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to