I've built my first usercontrol for use in a GPS Mapping forms app.
pic1 shows "panel1" containing some picturebox "tools" with a map(another panel containing a picturebox) underneath.
pic2 shows that I dragged the map and the "tool" have not moved with the drag.
"panel1" also contains my usercontrol( this will show a transparent map scale). My usercontrol and all the "tools" definately have the same parent - ie "panel1".
If I resize the form to cause a re-paint of all the controls I get
pic3 - the red T bar (my usercontrol) will be the map scale.
Everything looks OK until I drag the map - the user control goes with the drag.
pic4 shows that the usercontrol image has been erased as it passed under the "tools".
I don't understand why the "tools" stay put and on top of the map and the usercontrol does not - even though they all have the same parent.
Guys - I'm sorry if I have not explained the problem very well or I've illustrasted it in an inappropriate manner. In this case I didn't think a clutter of code would help much.