Bug or Feature - Tranparent Buttons Non-Responsive

Mike Kerner MikeKerner at roadrunner.com
Mon Sep 12 15:22:21 CEST 2016


Also, you need to do that with groups, as groups are not clickable areas.
Are you sure your button is at the top of the pile and not partially behind
something else?

On Mon, Sep 12, 2016 at 1:57 AM, Scott Rossi <scott at tactilemedia.com> wrote:

> 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
>
>
>
> _______________________________________________
> 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."


More information about the use-livecode mailing list