This relates to 2006 r2 for Windows. I was having problems in my
application with dropping an object on a canvas so I created a test
project. Just the default window with a canvas and editField on it.
I created the file types Text, Image/JPEG, and Image/x-pict. Here is
the extensive code used...
Canvas1.Open
Me.AcceptPictureDrop
Me.AcceptFileDrop ("Image/x-pict")
Me.AcceptFileDrop ("Image/JPEG")
Canvas1.DropObject
MsgBox "Hello???"
If Obj.PictureAvailable = True Then
Me.Backdrop = obj.Picture
End If
EditField1.Open
Me.AcceptTextDrop
Me.AcceptFileDrop ("Text")
EditField1.DropObject
MsgBox "Hello Text!!!"
If Obj.TextAvailable = True Then
Me.Text = obj.Text
End If
The editField works as advertisted but the canvas does not accept any
images. In my larger application it seems that the canvas will
accept images from within the application but not from external
applications or image files. Is there a setting or a line of code
that I missed?
Thanks,
Richard
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>