Search found 213 matches
- Wed Apr 12, 2023 8:16 pm
- Forum: Support
- Topic: Document Attachments and RVAttachedFile
- Replies: 2
- Views: 11721
Document Attachments and RVAttachedFile
Hi Sergey, I've been working on a way to embed attachments in my rvf files. I found a post on RVAttachedFile. I tried that but can't get it to work, it looks like the post is pretty old now. Did RVAttachedFile ever get updated? What I'm doing now is using TNetEncoding base64. Here's what I'm using: ...
- Thu Apr 06, 2023 4:14 pm
- Forum: Support
- Topic: RichViewActions components not on Lazarus palette
- Replies: 7
- Views: 30025
Re: RichViewActions components not on Lazarus palette
I don't use lazarus, but I've had similar problems before in delphi (not with rve components but others with the same issue). I'd first uninstall the compnent(s). Then, find where the IDE keeps its compiled files (DCUs, BPLs in delphi, not sure what they are in lazarus). Delete those files first and...
- Mon Apr 03, 2023 1:23 pm
- Forum: Support
- Topic: Disable Undo/Redo temporarily
- Replies: 2
- Views: 5036
Re: Disable Undo/Redo temporarily
Tom, (not from Sergey!!) I know you can use this: Property UndoLimit sets the capacity of undo buffer. It can be used to disable undo/redo feature. https://www.trichview.com/help/index.html?undo_in_richviewedit.html You'd probably have to set it to the current undo count: TRVEditRVData(rv.RVData).Un...
- Sat Apr 01, 2023 12:27 pm
- Forum: Support
- Topic: Doc Thumbnail
- Replies: 3
- Views: 17762
Doc Thumbnail
Hi Sergey,
Is there a "built-in" or simple way to generate a small thumbnail image of a given rvf file? I've searched and so far have not discovered anything for this. I'd like to be able to generate a small thumbnail that I could insert into the rve I'm using.
Thanks Sergey
Stan
Is there a "built-in" or simple way to generate a small thumbnail image of a given rvf file? I've searched and so far have not discovered anything for this. I'd like to be able to generate a small thumbnail that I could insert into the rve I'm using.
Thanks Sergey
Stan
- Fri Mar 17, 2023 7:17 pm
- Forum: Support
- Topic: Drop Caps (TRVLabel)
- Replies: 6
- Views: 4318
Re: Drop Caps (TRVLabel)
OK, thanks. I get the best results with RemoveInternalLeading := true; RemoveSpaceBelow := true; UseTypoMetric := false. I think that's about the closest I can get.
Thanks Sergey
Stan
Thanks Sergey
Stan
- Fri Mar 17, 2023 12:06 pm
- Forum: Support
- Topic: Drop Caps (TRVLabel)
- Replies: 6
- Views: 4318
Re: Drop Caps (TRVLabel)
Hi Sergey, Yes, that fixed the print preview! I no longer have to set OuterVSpacing and it all works! Thanks. One more related question. I have RemoveSpaceBelow set to true. I would expect that to eliminate the space below the drop cap, but no matter what I do, I get this: Image23.png What I want (a...
- Thu Mar 16, 2023 11:14 am
- Forum: Support
- Topic: Drop Caps (TRVLabel)
- Replies: 6
- Views: 4318
Re: Drop Caps (TRVLabel)
Margins are not supposed to be negative. I have an alternative suggestion: instead of changing margins, you can use RemoveInternalLeading property. Hi Sergey, I'm setting both RemoveInternalLeading and RemoveSpaceBelow to true. That seems to take care of the regular rve so I removed setting OuterVS...
- Wed Mar 15, 2023 7:58 pm
- Forum: Support
- Topic: Drop Caps (TRVLabel)
- Replies: 6
- Views: 4318
Drop Caps (TRVLabel)
Hi Sergey, I've been reworking my code for drop caps. I'm using some code from the forum I found some time ago. Lii := TRVLabelItemInfo.Create(rv.RVData); FI := TFontInfo.Create(nil); try FI.FontName := rv.Style.TextStyles[0].FontName; FI.Size := (rv.Style.TextStyles[0].Size * 3); FI.StyleName := 'I...
- Tue Mar 14, 2023 2:01 pm
- Forum: Support
- Topic: After updating to TRichView v21.1
- Replies: 5
- Views: 2962
Re: After updating to TRichView v21.1
Thanks Sergey
Stan
Stan
- Tue Mar 14, 2023 10:59 am
- Forum: Support
- Topic: After updating to TRichView v21.1
- Replies: 5
- Views: 2962
Re: After updating to TRichView v21.1
Candsoft, I had some misc compile errors too with initial install of 21.1. I think I closed Delphi and restarted and everything seemed to settle down. Not sure what the errors were now but things are OK. Using Delphi 10.3. Just FYI. Stan
Re: 3D Text
Hi Sergey,
For my limited purpose, textout would probably have worked, but I changed Canvas.TextOut to Sender.TextStyles[StyleNo].Draw anyway.
I'll take a look at the example later today.
Thanks Sergey
Stan
For my limited purpose, textout would probably have worked, but I changed Canvas.TextOut to Sender.TextStyles[StyleNo].Draw anyway.
I'll take a look at the example later today.
Thanks Sergey
Stan
3D Text
Hi Sergey, I use an rve as a "cover page" in my app. It can have any background color. I also put text on that cover page and I thought it would be nice if I could display the text in "3D" so that text would show up no matter what color the background was. So, I came up with the ...
- Thu Feb 23, 2023 7:41 pm
- Forum: Support
- Topic: Save Undolist?
- Replies: 2
- Views: 2972
Re: Save Undolist?
So this is not an easy task. Yes, I played around with TRVEditRVData(RichViewEdit.RVData).UndoList some time ago and thought I'd try it again today, and that was what I was beginning to think too, not an easy task. When I first looked at this, I did the following workaround which I'm still using: W...
- Thu Feb 23, 2023 5:02 pm
- Forum: Support
- Topic: Save Undolist?
- Replies: 2
- Views: 2972
Save Undolist?
Hi Sergey, Is there a way (or a way you can think of) to save a richviewedit undolist temporarily, and then restore it later? I use the same rve to display different docs. I'd like to store the undolist of the current doc right before I load another, and then restore the undolist when I reload the o...
- Tue Jan 31, 2023 5:29 pm
- Forum: Support
- Topic: Rounded Selection
- Replies: 2
- Views: 2921
Re: Rounded Selection
OK, worth asking about it. I was afraid it might be too much change to be worth it. Well, maybe keep it in mind for the future.
Thanks Sergey
Stan
Thanks Sergey
Stan