Inserting picture
I'm trying to make a chat system that stores the conversations in a MSSQL DB. As the caller or host sends a message to wwDBRichText component I want to put a picture in the line to show which made the post. I'm having a problem inserting the picture with the chat text. Do I use the TwwDBRichText or TwwDBRichEditMSWord or something else? And how would I do it?
-
I'm sorry about the lack of response to your question. Are you trying to insert an mage with code. You can insert an image using these methods of the TwwDBRichEdit
procedure InsertImageFromFile(const AFileName: string);
procedure InsertImageFromGraphic(const AGraphic: TGraphic);
-Roy
-
Hey,
is there a way to copy & paste pictures into your TwwDBRichEdit?
Which would be the proper way to do it?
TJvRichEdit seems to support this out of the box.
Edit: (20.03.2024)
It works only if you copy the image in MS Paint and paste it into TwwDBRichEdit,
but copying it from other sources like a browser, i.e. right click "Copy Image" does
not allow to paste the image into the TwwDBRichEdit.
Many thanks
Kind Regards
Jean
Please sign in to leave a comment.
Comments
2 comments