|
-
Jun 3rd, 2000, 04:18 AM
#1
Thread Starter
New Member
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]
-
Jun 3rd, 2000, 04:31 AM
#2
transcendental analytic
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.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 3rd, 2000, 07:53 AM
#3
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|