|
-
Apr 16th, 2000, 11:07 PM
#1
Thread Starter
Frenzied Member
How do you use VB's create object Function, I want to know if I can use it to create a picturebox inside a class module so I can use some of it's methods, eg it's scaleX and scaleY functions from inside a class module without having a picturebox passed in.
Does anyone know ?
-
Apr 16th, 2000, 11:36 PM
#2
Fanatic Member
Hello Sam!
Once my email is up again, I will send you a sample of CreateObject, GetObject, and DDE.
Maybe, I am missing something here but inside the class module, can't you declare your variable as a picturebox?
Chemically Formulated As:
Dr. Nitro
-
Apr 17th, 2000, 01:50 AM
#3
Code:
Dim MyPic as object
set mypic = createobject("VB.PictureBox")
I think this should do the trick, but dont quote me on it.
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
|