Delete an image using PictureEdit


Author
Message
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Hi

I'm using the last version of DevExpress and also last of StrataFrame.

In Visual Basic, I can show and save an image to database using PictureEdit (thanks for all forum posters who has done this first).

But if I delete the image (using the PictureEdit functions) the application has an error.

I saw a solution in C, but I can not implement that in VB.

Waiting for yur valuable help.

Regards

Smile Everything is possible, just keep trying...

Replies
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Hi

I try this in Custom code but there is a problem.

At the end of the BO there are a propery descriptors, when I put custom code the property descriptors for Logotipo are not created causing forms does not load.

This is what are not created:

''' A PropertyDescriptor class used to Get and Set the value of the Logotipo property."

Regards



Smile Everything is possible, just keep trying...
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Here is a tip Wink ...GetCustomBindablePropertyDescriptors...you can search the help or this forum and find a LOT of posts on this very procedure.  You will need to override this method on your BO, and add a ReflectionPropertyDescriptor for the custom property.  You can try and check the "Create Descriptor" in the BO Mapper for this property as well and see if it fixes your problem, but if the error persists, just go with the GetCustomBindablePropertyDescriptors method approach.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search