kytschBASIC

Put down that phone!
Please view me on real computer.

MOUSEACTION
CALL FUNCTION, DOUBLE CLICK (optional)

This will allow you to create an action for a mouse click or a mouse double click.

Note: to enable double click set the argument to true.

Example

AFUNCTION "popup"

	alert("Hi there!");

END AFUNCTION

MOUSEACTION "popup()"

    BUTTON

        PRINT "Click to see popup"

    END BUTTON

END MOUSEACTION

Output

See also