As I understand it, a group will be the FIRST object to get a mouse message, IF 
you click on an actual object in the group. So you can have a mouseUp handler 
in the group script that handles clicks in other objects, simpy by using the 
target to determine what was clicked. 

Bob S


> On Jun 25, 2019, at 10:23 , Ralph DiMola via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> This bit me a few times. I would have a group with some controls but was not 
> able to get the mouseUp when you clicked in the group but not on any of the 
> child controls. I now know I have to put some transparent object that fills 
> the group and is also behind all the other controls. It never made any sense 
> to me why this is. I thought as others that the group is a control and would 
> get mouse messages. If this was so then the group would only get the message 
> if 1) you clicked in the group but not on a child 2) You clicked in the group 
> and on a child control and the control passed the message.
> 
> Ralph DiMola


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to