Hi,
Having the dockable object, how can I retrieve the dockable index from a stack station?
Thx
Hi,
Having the dockable object, how can I retrieve the dockable index from a stack station?
Thx
With the method StackDockStation#indexOf( Dockable ).
If you need the index for positioning the Dockable, then you might also consider using getDockableProperty, DockableProperties describe the position of a Dockable in respect to its parent(s), all stations support them.