Search found 7 matches
- Sun Apr 09, 2006 10:31 pm
- Forum: Support
- Topic: separating paragraphs
- Replies: 11
- Views: 38120
It turned out to be less complicated as I thought initially: procedure TrvActionsResource.txtStyleDrawParaBack(Sender: TRVStyle; Canvas: TCanvas; ParaNo: Integer; ARect: TRect; var DoDefault: Boolean); var I: Integer; Data: TRichViewRVData; begin Data:= TRichViewRVData(Sender.RVData); for I:= 1 to ...
- Fri Apr 07, 2006 3:12 pm
- Forum: Support
- Topic: span instead of a hyperlink
- Replies: 1
- Views: 9505
span instead of a hyperlink
I'm creating a hyperlink through the UI (with Action) and it appears well, but when I save the content using SaveHTMLEx, I see <span class=rvts13>text</span>' in place of hyperlink.
How to make hyperlinks to be saved ?
How to make hyperlinks to be saved ?
- Sun Apr 02, 2006 11:47 am
- Forum: Support
- Topic: Looping through RVData items -> access violation
- Replies: 1
- Views: 9858
Looping through RVData items -> access violation
What's wrong with the following: for I:= 0 to RVData.ItemCount - 1 do begin if RVData.GetItemStyle(I) >= 0 then begin Strings.AddObject(RVData.GetItemText(I), RVData.GetItem(I)); end end; So, upon clicking a toolbar button, I'm building a list of strings with pointers to the accompanying RVData ...
- Sat Apr 01, 2006 9:45 pm
- Forum: Support
- Topic: separating paragraphs
- Replies: 11
- Views: 38120
No 1 is exactly what I want.MLefebvre wrote:Few (alternative) suggestions
But I'm a bit lost: in DrawParaBack ParaNo is always 0, so it cant point to the first paragraph. And if I find the first paragraph looping through RVData.ItemCount/RVData.GetItem, how I get its canvas to draw a line?
Many thanks!
- Tue Mar 28, 2006 11:54 pm
- Forum: Support
- Topic: separating paragraphs
- Replies: 11
- Views: 38120
- Mon Mar 27, 2006 10:34 pm
- Forum: Support
- Topic: separating paragraphs
- Replies: 11
- Views: 38120
- Mon Mar 27, 2006 1:48 pm
- Forum: Support
- Topic: separating paragraphs
- Replies: 11
- Views: 38120
separating paragraphs
I need to visually separate the first paragraph (make it kind of annotation) from the rest of the document. I think to implement this with a line similar to a page break. The problems I'm facing are: 1) how to draw this line 2) how to prevent it from deletion 3) how to update in case first paragraph ...