-
Hi.
I dont know what to do (at vb5.0). I have some objects that I use many times in the same form (an ocx control that I use to put on it other objects: images, picture box, etc). They appears in a sstab control. The matter is that I just want to make the controls one time and cutting them and pasting them every time I want, but I want to do it in run time. In this way I want to use the same code for my controls and don't putting them in an array. It is possible to do it?
[Edited by Dipinto_Di_Blu on 06-03-2000 at 05:40 PM]
-
What do you mean by cutting and pasting? Controls can be moved with move method or top,left properties. you can use setparent api to move controls between wnd's.
-
You mean how people do on the Desktop? All you have to do is use a Drag statement in the MouseDown event and use MyControl.Move X, Y in the MouseUp event.