Hello,
I have a set of controls that are grouped in several groups. Because this set of controls is duplicated, the mouse handlers will be put in the top level group. Then arises the need to get the names of each group and the name of the control that the user clicked in order to take some action. I understand that target delivers the name of the control that has been clicked. Now how do I get the names of each group that the message path went through?
I hope I'm clear
Thank you
Nicolas
Get the names of a group hierarchy
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Get the names of a group hierarchy
Nicolas
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1
Re: Get the names of a group hierarchy
Hi Nicolas,
check the owner. It gives you the one next up. If the groups are nested you can test until the owner is the card, the one before that is the top group.
check for owner, then for owner of owner and so on. repeat until word 1 of the owner is "card".
Kind regards
Bernd
check the owner. It gives you the one next up. If the groups are nested you can test until the owner is the card, the one before that is the top group.
check for owner, then for owner of owner and so on. repeat until word 1 of the owner is "card".
Kind regards
Bernd
Re: Get the names of a group hierarchy
Thanks Bernd, this is excatly what I was looking for
Nicolas
Nicolas
Nicolas
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1