Example 2:  Control via the Mouse Pointer

This page embeds an example that uses the mouse pointer
to interact with the graphics in the displayed window. You
can pick and position the end of the sine-wave while holding
the left mouse button down. The example uses the mouse_unit
and the use_buffer units to control the graphics and to avoid
flicker. When embedded into the HTML page, it works the
same way as if it were standalone, with the only exception
that any GUI events are directed to the embedded application
only when the mouse pointer is inside the embedded area.

(again you may wish to use F4 to push the circuit into
a running Neo process to inspect how it works).



[Previous] [Next]