use-livecode Digest, Vol 168, Issue 50

Quentin Long cubist at aol.com
Wed Sep 27 18:06:45 EDT 2017


sez “J. Landman Gay" <jacque at hyperactivesw.com>:
> The original issue that influenced this one was how to provide a larger hit 
> zone on an SVG widget. How would this property work for that?
I’m thinking that a single line of code would suffice:

set the clickableRegion of widget “Fred” to ListOfPoints

As i’ve noted previously, the engine *already* handles clickable regions for *every* control, and my proposal ‘merely’ (he says, optimistically…) opens up the engine’s mechanisms to the extent of granting developers the opportunity to override the engine’s default “define the clickable region” behavior. If a dev is happy with the default clickable regions provided by the engine, that dev can just ignore the clickableRegion property and everything should work the same as it always did… but if a dev *isn’t* happy with the default clickable regions provided by the engine, *then* that dev can mess around with the clickableRegion property.



   
"Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length"
    
Read the webcomic at [ http://www.atarmslength.net ]!
    
If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ].




More information about the Use-livecode mailing list