Canvas Class

This is precisely correct.

thanks for the Big Help to All

Hi doofus,
I created the class as stated and dropped it on a window.
It does not accept a .jpg picture, am I missing something?

I included
//========================= for easy testing, drop in image file
Sub Open()
AcceptFileDrop("")
End Sub

Sub DropObject(obj As DragItem, action As Integer)
setPicture(Picture.Open(obj.FolderItem))
End Sub

in the class.

I uploaded my project here http://www.mediafire.com/?88t35djpssw7u5r
Could you take a look and modify as appropriate?

Thanks
Lennox

AcceptFileDrop(“jpg/png”)

Sub Open()
AcceptFileDrop("")
End Sub

changed to

Sub Open()
AcceptFileDrop("")
AcceptFileDrop(“jpg/png”)
End Sub

Still does not work.

Lennox

AcceptFileDrop(“image/jpeg”)

Add a FileTypes

Already have…

image/jpeg Jpeg Jpeg prvw .jfif;. jpe;.jpeg;.jpg public.jpeg

Still does not work.

Lennox

FileType

Object Name MacType MacCreator Extensions
Jpeg JPEG prvw .jfif;.jpe,.jpeg,.jpg

FileType

DisplayName---------Object Name------- MacType ------- MacCreator------ Extensions
image/jpeg-------------Jpeg---------------------- JPEG -------------- prvw------------- .jfif;.jpe,.jpeg,.jpg

Did that… Still does not work
Lennox

What do I have to put in the EZCanvas21 events?
I have them all empty.
Lennox

Could you send me a working project?
Thanks.
Lennox

i need you email

Thanks,
lenpartico@yahoo.com
For others who may be interested you can upload it to a site, ( mediafire.com, yousendit.com), and provide the link.
Lennox

I have the Canvas working Perfect

Now i need to Save to the Data Base how i do that.