|
-
June 25th, 2001, 04:37 PM
#1
Picture Object
Can anyone help??
I need to pass a picture back from a function to the caller without writing the picture to the hard drive.
Here is my code that doesn't work.
public Function Create_picture(moSymbol as MapObjects2.Symbol, X as Integer, Y as Integer)
set frmCreatePic.sym = moSymbol
frmCreatePic.X = X
frmCreatePic.Y = Y
Load frmCreatePic
frmCreatePic.Show vbModal
Create_picture = frmCreatePic.ImageList1.ListImages(1).Picture
End Function
'This works but the caller of this function says
'"Object required"
'CALLER --->
Picture1.Picture = obj.Create_picture(sym, 120, 50)
Thank you
Raistlin
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
|