Click Event Issue

I have 2  groups with a rectangle and a piece of text.  In both cases I have a click event on the rectangle.

The problem is that in one case, the event for clicking on the rectangle does not trigger unless i click to the side of the text. I don't see anything different between the two. If i move the text over, then I have more room where i can click on the rectangle. It's almost as if the text is acting as a mask.  But, this is not happening with other similar groups. 

Any idea what might be causing this

  • In some cases, adjusting which Item is Forward or Back makes a difference on where the Click action associated. Check if Putting the Box (with no fill) in front changes the behavior.

    Andre Dicaire

  • In reply to Andre Dicaire:

    That's part of the problem. The box indeed has fill and I refuse to create phantom boxes for the sole purpose of triggering events!! :) I actually have removed many of those. However, this issue is not happening across all similar boxes. I'm sure that putting a blank object with the event embedded would work ,but it doesn't explain the issue and also adds more mess to the graphic by duplicating things.

    I've also checked to see if the text in front has animation associated with it and in similar cases it does, so I'm yet to find any difference between the two groups. Maybe my assumption that something is different between them is not necessarily true and there is just something about how and when the objects were created that is bugging out. IDK
  • In reply to TreyB:

    Ensure the text item doesn't have the selectable option enabled and also doesn't have an event defined, in VBA for the picture select the top left drop down and see if that named item shows up. If not then you don't, if it does select that and then click the right drop down and ensure none of the items have a bold item. If there is bold item then you have a event defined.

    Another option is the cut the event logic on the box, group the box and text together and paste this script on the group.
  • In reply to Matt Stoner:

    that was it!!! DUH! Seems so obvious now. Thanks!