Search found 291 matches

by jgkoehn
Tue Mar 26, 2024 6:09 pm
Forum: Support
Topic: merge items in RV17.6.2--RV22
Replies: 15
Views: 2744

Re: merge items in RV17.6.2--RV22

I may have changed code always possible but I am trying to be very careful with RV code: here is what we are using for RTF could it be "Merging"? rv.RTFReadProperties.ParaStyleMode := rvrsAddIfNeeded; {PI} with rv.Style do for i:=0 to DEF_PARA_STYLES-1{ParaStyles.Count-1} do ParaStyles[i]....
by jgkoehn
Tue Mar 26, 2024 6:06 pm
Forum: Support
Topic: merge items in RV17.6.2--RV22
Replies: 15
Views: 2744

Re: merge items in RV17.6.2--RV22

If it helps this works fine in RV17 but not in RV22 so no changes really on our end as best I can in this regard. I have two computers old version works fine under RV17. And new version on antoher computer under RV22 has this problem. We are loading through RTF Edit: As I dig deeper it seems related...
by jgkoehn
Tue Mar 26, 2024 5:02 pm
Forum: Support
Topic: merge items in RV17.6.2--RV22
Replies: 15
Views: 2744

merge items in RV17.6.2--RV22

Greetings Sergey, Is there a new feature that merges items in RV later than 17.6.2 especially RV22. Working on upgrading and somehow my items are merging. Theyhave the same font, etc but they have different tags. For example: |The item1| cat item2| ate item3| Has become: |The cat ate item1| Edit: As...
by jgkoehn
Tue Mar 19, 2024 6:30 pm
Forum: Examples, Demos
Topic: [Demo] Editors in editors
Replies: 16
Views: 50891

Re: [Demo] Editors in editors

I am going to try to updated to RV22 (this project is Delphi7.1 with RV17) and see if the problem still exists. If so then I will try though it is very complex unfortunately. I am afraid there are so many possibilities. 1. We load data converting into RTF then load that into RichView (no format yet)...
by jgkoehn
Sat Mar 16, 2024 11:41 pm
Forum: Examples, Demos
Topic: [Demo] Editors in editors
Replies: 16
Views: 50891

Re: [Demo] Editors in editors

I seem to get some 0 and other the subEditors height unless I set it like 200; The below is just letting it use
intRVE.Height := intRVE.RVData.DocumentHeight;
height-error.JPG
height-error.JPG (51.2 KiB) Viewed 12184 times
by jgkoehn
Sat Mar 16, 2024 10:34 pm
Forum: Examples, Demos
Topic: [Demo] Editors in editors
Replies: 16
Views: 50891

Re: [Demo] Editors in editors

Getting there on the resize but I am running into something odd: This seems to do pretty good except for: intRVE.Height := intRVE.RVData.DocumentHeight; Even though DocumentHeight is the right size intRVE.Height always stays at 0??? right now I am trying this right before the main rve.format; I have...
by jgkoehn
Sat Mar 16, 2024 9:59 pm
Forum: Examples, Demos
Topic: [Demo] Editors in editors
Replies: 16
Views: 50891

Re: [Demo] Editors in editors

It seems if I take away the subEditor format that almost halfs the time to 5-6 seconds.
Now I need to get back into the items and solve how to edit a control. I named them 'subEditor...' so if I can do this that helps. Now if there was a way to improve the speed of AddControlEx
by jgkoehn
Sat Mar 16, 2024 9:15 pm
Forum: Examples, Demos
Topic: [Demo] Editors in editors
Replies: 16
Views: 50891

Re: [Demo] Editors in editors

//Special for Interlinear ReadOnly := True; HScrollVisible := False; VScrollVisible := False; BorderStyle := bsNone; WordWrap := False; TopMargin := 0; BottomMargin := 0; LeftMargin := 0; RightMargin := 0; WordWrap should be set to False hmms... As to efficiency here is the process. 1. The RVF docu...
by jgkoehn
Sat Mar 16, 2024 6:58 pm
Forum: Support
Topic: Best way to handle using TRichView
Replies: 5
Views: 14006

Re: Best way to handle using TRichView

I have tried this but it slows things down about 11 seconds to render the data. What work around could I do to make Tables side by side? Is it complex?
by jgkoehn
Sat Mar 16, 2024 6:05 pm
Forum: Examples, Demos
Topic: [Demo] Editors in editors
Replies: 16
Views: 50891

Re: [Demo] Editors in editors

If you could help me to get the leanest/quickest version of: rvS.FormatTail; rvPd.AddControlEx('subEditor|row:' + IntToStr(rowIdx) + '|grp:' + IntToStr(i),rvS, -1, rvvaAbsTop); As in do I need to clean up styles, what options, for TRichViewEdit. etc can I use to get it there the fastest. I have a bo...
by jgkoehn
Fri Mar 15, 2024 5:18 pm
Forum: Examples, Demos
Topic: [Demo] Editors in editors
Replies: 16
Views: 50891

Re: [Demo] Editors in editors

I am working with these subEditors and it is going quite well. (I am needing to speed them up there can be a lot.) I am having trouble with DocmentWidth (note I am on rvf17 on this project) rvS.Width := rvS.RVData.DocumentWidth; It is resizing but not fully always. I've tried +/- [rvoClientTextWidth...
by jgkoehn
Fri Mar 08, 2024 4:03 pm
Forum: Support
Topic: Plain Text Bullets on Copy
Replies: 21
Views: 326134

Re: Plain Text Bullets on Copy

laino.antonello -- I built my own work around. It took a bit to replace the GetSelText with this but it seems to work ok. (Not as nice as Sergey's code by far but a work around.) //Duplicate the GetSelText from RichView in our own way but without list items! class function ConvBk.GetSelText(rve: TCu...
by jgkoehn
Fri Nov 17, 2023 8:51 pm
Forum: Support
Topic: Barebones text editor with RichViewEdit
Replies: 1
Views: 19817

Barebones text editor with RichViewEdit

I know this is not the normal use but is there a way to make RichViewEdit almost work like a TMemo? (Some formatting may be nice but intially none) the goal is speed.
by jgkoehn
Thu Nov 02, 2023 8:26 pm
Forum: Support
Topic: Plain Text Bullets on Copy
Replies: 21
Views: 326134

Re: Plain Text Bullets on Copy

Ah ok, any ideas on how I can make it so that if a bullet/list is at the start of my selected text when it is copied to a string. Where I can remove it if I like? I figure it may be complex to figure out all the unicode that could potentioally represent a bullet since they can be even letters like &...
by jgkoehn
Wed Nov 01, 2023 4:49 pm
Forum: Support
Topic: Plain Text Bullets on Copy
Replies: 21
Views: 326134

Re: Plain Text Bullets on Copy

Perhaps what I have said originally needs modified.
GetSelText is not getting the "selected" text when on a bullet line. The bullet is not selected and is still gotten. It is almost acting more like GetCurrentLine