There are several approaces. @Tim_Parnell or @Anthony_G_Cyphers brought the mouse events back with custom controls (I can’t remember which of those two).
I personally made a simple example with jQuery UI:
But there’s no inbuild way in Xojo. Everything else tends to be hacky and can/will break in future releases.