Component animation


#1

Hi,

 I have a component which is holding one child component. When i drag that sub component to some position i am creating new component, mean while i am removing child component from old parent component and adding to the newly created component. In that moment i am doing animation which moves old component and newly created component. In that time the sub component which is under mouse while dragging is hiding by animation. while animation i want the sub component which is under mouse cursor should be visible. How can i do this thing?

      Thanks in advance,,,,,,,,,

#2

I’m not sure I follow your post, but have you looked at Component::toFont()? It might help.


#3

yer rory, i tried that it is not working


#4

Also worth looking at:
Component::toBack()
and
Component::setAlwaysOnTop()

I think a combination of these should work. If not perhaps you could simplify your code and post an example here so the good folk on the list can see where the problem might be.