I don’t have a chance to try this now, but here is an idea
Component prnt = app.lookup(this.parent)
Component grandParent = app.lookup(prnt.parent)
--
You received this message because you are subscribed to the Google Groups "Sedona Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
sedonadev+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sedonadev/57cea12e-1b68-4bc8-b77a-1c3a7115dfc4n%40googlegroups.com.
See also the source of Point class in driver kit, getDevice() method as an example of navigation
**
** Returns reference to parent device
**
Device getDevice()
{
App app = Sys.app
for (Component c = app.lookup(parent); c != null; c = app.lookup(c.parent))
if (c.type.is(Device.type))
return (Device)c
return null
To view this discussion on the web visit https://groups.google.com/d/msgid/sedonadev/VI1PR03MB65754EE90509C9C22484CDC5B3809%40VI1PR03MB6575.eurprd03.prod.outlook.com.
--
You received this message because you are subscribed to the Google Groups "Sedona Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sedonadev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sedonadev/43d9da34-e18a-4206-a4ef-4986e6a50ea3n%40googlegroups.com.