Just confirming, groups themselves don't receive mouse messages, right?

Geoff Canyon gcanyon at gmail.com
Wed Jan 29 14:02:32 EST 2014


Thanks, I was trying to avoid creating an object just to capture
messages. I was thinking about doing a simple table-based layout
system based on groups, but that necessarily implies being able to
drag controls into and out of groups.

On Wed, Jan 29, 2014 at 8:36 AM, John Craig <john at splash21.com> wrote:
> I've used a button sized to fill the group and style set to transparent to
> catch the mouse events..
>
>
>
> On 29/01/2014 14:13, Geoff Canyon wrote:
>>
>> I was experimenting with groups, and it appears the group itself
>> doesn't directly receive mouseEnter, mouseMove, etc.
>>
>> If mouse messages are sent to an object in the group, and the object's
>> script doesn't handle the messages, the messages pass to the group.
>> But if the pointer is over an area of the group but not over any
>> control in the group, then even if the group is opaque, etc., no
>> messages are delivered to the group. Is that correct?
>>
>> Is there a way to make it so that groups themselves can receive
>> messages directly?
>>
>> _______________________________________________
>> 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




More information about the Use-livecode mailing list