PDA

View Full Version : bringToFront()


sandman
03-06-2003, 10:47 AM
I want to keep the object I am dragging always in front. Is there a way to do this? I tried to use bringToFront() but this did not work. I am probably not using it correctly.

In my case when I drag the object over any view I want to bring this object to the front irrespective of where this object is rooted in the view hierarchy.

antun
03-06-2003, 01:39 PM
Hey Sandman

I'm going to look into this, but I don't think that it is possible. I believe that views can only be brought to the front or back of their siblings.

-Antun

sandman
03-07-2003, 02:57 PM
Antun,

I was able to rearrange the views and get things to work they way I wanted.

thanks,
Sandeep.

antun
03-07-2003, 02:58 PM
By the way, you know you could always bring the view's parent to the front too.

-Antun