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?
drag and drop from outlook
-
- Site Admin
- Posts: 17602
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
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.
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.