Bug or Feature - Tranparent Buttons Non-Responsive
Scott Rossi
scott at tactilemedia.com
Mon Sep 12 01:57:55 EDT 2016
The "hack" mentioned by Brahmanatha is a technique to make
clickable/draggable transparent images, it doesn't have to do with buttons
at all:
http://runtime-revolution.278305.n4.nabble.com/Grabbing-Image-with-Transpar
ent-Mask-td4699808.html#a4699809
I agree with Jacque's findings. AFAIK, buttons have always responded
across their entire rect. Maybe there's some odd rendering bug occurring,
but perhaps it would be good to double-check what types of objects are
being used there.
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
On 9/11/16, 8:23 PM, "use-livecode on behalf of J. Landman Gay"
<use-livecode-bounces at lists.runrev.com on behalf of
jacque at hyperactivesw.com> wrote:
>On 9/11/16 9:08 PM, Sannyasin Brahmanathaswami wrote:
>> I have adopted Scott's "hack" to make a button that works across whole
>>rect
>
>Hm, if both you and Scott needed a hack to solve a problem I've never
>seen, then I wonder what's different.
>
>I dragged a standard button to a new stack, resized it to be fairly
>large, and in the property inspector I turned off "opaque". I put a
>script into the button that just put the seconds into the msg box on
>mouseUp. It responded no matter where I clicked.
>
>Then I turned off showborder, threeD, and autohilite and it still
>responded.
>
>Then I made a new button and just chose "Transparent" from the button
>style in the inspector. That one also responded at any loc inside its
>rect.
>
>What's different in your setup?
>
>--
>Jacqueline Landman Gay | jacque at hyperactivesw.com
>HyperActive Software | http://www.hyperactivesw.com
>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list