Search found 13 matches
- Wed Jul 04, 2018 12:28 am
- Forum: Support
- Topic: Include image from url
- Replies: 1
- Views: 10859
Include image from url
Hi, I would like to be able to add a web hosted image so that when I use SaveHTMLToStreamEx, images will be something like <img src="www.website.com/image.jpg" height="42" width="42">. I copied code from the SharedImages demo but instead of using a local relative page, I used a url. myURL := 'http ...
- Fri May 25, 2018 1:30 pm
- Forum: Support
- Topic: SaveHTMLToStreamEx does not keep text alignment
- Replies: 3
- Views: 15908
Re: SaveHTMLToStreamEx does not keep text alignment
Alright, I found my problem, but I don't know what to do with it. It has nothing to do with SaveHTMLToStreamEx. I have some Code to remove empty lines from my text. I took this code from this forum a while ago. When I do it, I lose all alignments. Here is my code : procedure TfStdFrameRichEditor ...
- Thu May 24, 2018 7:44 pm
- Forum: Support
- Topic: SaveHTMLToStreamEx does not keep text alignment
- Replies: 3
- Views: 15908
SaveHTMLToStreamEx does not keep text alignment
I use SaveHTMLToStreamEx to export to html to use on a website.
I edit a paragraph to change its alignment to rvaRight. When I use SaveHTMLToStreamEx, the html paragraph has this : text-align: left;
Is there an option for this ?
I edit a paragraph to change its alignment to rvaRight. When I use SaveHTMLToStreamEx, the html paragraph has this : text-align: left;
Is there an option for this ?
- Thu May 03, 2018 5:57 pm
- Forum: Support
- Topic: Very large RTF result for small text
- Replies: 2
- Views: 13587
Re: Very large RTF result for small text
Wow. Thank you. It works fine.
Every time I post you have the right solution and real fast too.
Thanks a lot and have a nice day.
Every time I post you have the right solution and real fast too.
Thanks a lot and have a nice day.
- Thu May 03, 2018 3:15 pm
- Forum: Support
- Topic: Very large RTF result for small text
- Replies: 2
- Views: 13587
Very large RTF result for small text
Hello, Lately some users have a big problem. In my application, I load the text from an RTF string in a SqlServer table and save it back after edits. I don't know what happens, but sometimes, when users copy text from outlook mail messages and paste them in the TRichView, the result RTF is VERY ...
- Wed Aug 23, 2017 7:26 pm
- Forum: Support
- Topic: Slow paste. Is there a way to put an hourglass cursor ?
- Replies: 1
- Views: 9779
Slow paste. Is there a way to put an hourglass cursor ?
When I copy text from an outlook reply window (it looks like some kind of word editor embedded in outlook), it takes several seconds to paste it into my TRichViewEdit. It's way faster if I copy the same text from outlook while viewing original mail. (not in edit mode). I don't mind the wait, but I ...
- Thu Aug 25, 2016 1:02 pm
- Forum: Support
- Topic: Is there a bug with Indent
- Replies: 4
- Views: 21456
- Mon Jan 05, 2015 1:52 pm
- Forum: Support
- Topic: Is there a bug with Indent
- Replies: 4
- Views: 21456
- Fri Dec 19, 2014 6:41 pm
- Forum: Support
- Topic: Is there a bug with Indent
- Replies: 4
- Views: 21456
Is there a bug with Indent
Is it normal that I can have text outside my TRichViewEdit ?
I type "ABC" insite my TRichViewEdit.
If I call myRichView.ApplyParaStyleConversion(PARA_INDENTDEC), I have 2 characters ouside the page. I can't do it more than that. It stops after 2 characters are outside the visible zone.
I type "ABC" insite my TRichViewEdit.
If I call myRichView.ApplyParaStyleConversion(PARA_INDENTDEC), I have 2 characters ouside the page. I can't do it more than that. It stops after 2 characters are outside the visible zone.
- Thu Oct 09, 2014 11:19 am
- Forum: Support
- Topic: Stuck into HyperLink style when there is only a link inside
- Replies: 1
- Views: 11473
Stuck into HyperLink style when there is only a link inside
I made a TFrame in Delphi with a TRichViewEdit in it with buttons for alignement, color, font, font-size, etc... If I paste a link inside an empty TRichViewEdit, I'm stuck inside the hyperlink. Whatever I try to type inside the edit goes in the Link label. Is there something I can do right after a ...
- Tue Jul 15, 2014 6:40 pm
- Forum: Examples, Demos
- Topic: [Example] DeleteBlankLines, RemoveParagraphBreaks, etc.
- Replies: 21
- Views: 276977
How to do Delete blank lines from a selection
I tried the code from the first post and it does what I need but on all the RichView content.
I need to do it on the selection only.
I need to do it on the selection only.
- Mon Jun 16, 2014 5:21 pm
- Forum: Support
- Topic: Get selected text as HTML
- Replies: 1
- Views: 11089
Get selected text as HTML
I know I can use SaveHTML to export everything in the TRichViewEdit to HTML. I want exactly the same thing but with the selected text only. Is there a way to do this ? I could create a second RichView and Copy/Paste the selected text in the other one and call SaveHTML. But I don't want to use the ...
- Mon Jun 16, 2014 2:29 pm
- Forum: Support
- Topic: Save to Html Font size problem
- Replies: 1
- Views: 11085
Save to Html Font size problem
I call SaveHTML to get html with pictures and then open a new email with Outlook with the Html and the pictures as attachment. The problem is that when I format text with a font size of 11. It puts "font size=3" in the html file. It is not exactly 11 pt. Is there a way to write 11pt in the html ...