Page 1 of 1
drag and drop from outlook
Posted: Fri Feb 13, 2015 4:10 pm
by erikvdw
When I drop an email from outlook on a TRichviewedit control I only get the quickview data in the richviewedit and not the totally message.
Is the a property to get the full message?
msg files
Posted: Fri Feb 13, 2015 4:14 pm
by erikvdw
And when I drop a msg file to a richviewedit an error message is shown 'Unknown picture file extention (.msg)
Posted: Sat Feb 14, 2015 9:37 am
by Sergey Tkachenko
1) TRichViewEdit accepts data in formats that are provided by the source application (Outlook). If it provides RTF, it reads RTF. If it provides a plain text (ANSI or Unicode), it inserts it.
You can only turn off accepting some formats by excluding them from rve.AcceptDragDropFormats property.
2) When you drop files, TRichViewEdit inserts files having TXT, RTF and RVF extensions. It also tries to insert other files as graphic files. If they are not graphic files, you can see an exception. But this exception is handled, it is visible only when the application is debugged in Delphi IDE. This error message is not shown to the end user.
If you want to insert dropped files yourself, you can do it in OnDropFiles event.