ON DRAG keyword

Executes a SUB on a drag event.

Syntax

ON DRAG object, sub

Parameters

  • object: object (required)
  • sub: subroutine to execute (required)

Example

ON DRAG myImage, myFunction

Go back to list of Keywords.