Series of known issues articles are showing known issue itself about Small Basic programming language and it's workaround. In this article, local means Small Basic IDE environment and remote means internet browser environment with Silverlight add-in.


Phenomenon

GraphicsWindow.GetPixel(x, y) doesn’t work properly if x or y has after the decimal point in remote.  A sample program MQB393 doesn't work properly because of this issue.

Please note that GraphicsWindow.MouseX and GraphicsWindow.MouseY has after the decimal point in remote.

Workaround

Round x and y before calling GraphicsWindow.GetPixel(x, y).

Sample Program

  • Small Paint MQB393-0 is update version including a workaround of this issue.

See Also