target mousedown group

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
MarcVanCauwenberghe
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 142
Joined: Thu Feb 21, 2013 8:47 am

target mousedown group

Post by MarcVanCauwenberghe » Sun Apr 27, 2014 6:35 pm

Hi,

if I am correct the target of a mousedown event when clicking on a group will be a control within that group that it 'sees' first.
How do I get the group that control belong to?

Thanks for any answer,

best regards,
Marc

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: target mousedown group

Post by jmburnod » Sun Apr 27, 2014 6:44 pm

Hi Mark,
The owner of the target is the magic word
It return which object is next in the object hierarchy.

Best regards
Jean-Marc
https://alternatic.ch

MarcVanCauwenberghe
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 142
Joined: Thu Feb 21, 2013 8:47 am

Re: target mousedown group

Post by MarcVanCauwenberghe » Sun Apr 27, 2014 7:09 pm

Thank you Jean-Marc,

have a nice evening.

Best regards,
Marc

Post Reply