ID:273155
Nov 5 2009, 5:52 pm
|
|
What kind of screen object another screen object is on?
|
Nov 5 2009, 5:59 pm
|
|
As screen objects cannot be "on" screen objects, the question makes no sense.
|
In response to Garthor
|
|
For lack of better wording. A "movable" screen object (like a cursor), is there anyway to check what it's on?
client That's what I'm doing to move the cursor around. |
In response to Vic Rattlehead
|
|
You could probably loop over client.screen and look for other screen objects with an identical screen_loc.
|
In response to Nadrew
|
|
I see. I was hoping there'd be another way (incase two options appear in different menus, but same screen_loc), but that works. Thanks.
|
In response to Vic Rattlehead
|
|
There certainly is another way, if you represent your menus as objects. Then it's simply a matter of fetching menu.elementAt(cursor.position).
|