Great, that sounds likt it should work. Thanks Sergey
Stan
Search found 247 matches
- Sun Sep 14, 2025 5:22 pm
- Forum: Support
- Topic: DefaultMargin
- Replies: 7
- Views: 16541
- Sat Sep 06, 2025 12:58 pm
- Forum: Support
- Topic: DefaultMargin
- Replies: 7
- Views: 16541
Re: DefaultMargin
Well, while painting line numbers in the rve directly looked good and was easiest to do, changing the rve left margin was just too squirrely. I went with a panel that I subclassed to expose its canvas and added an onpaint method. This worked as well.
Stan
Stan
- Fri Sep 05, 2025 7:28 pm
- Forum: Support
- Topic: DefaultMargin
- Replies: 7
- Views: 16541
Re: DefaultMargin
If you want to override default settings of RVAControlPanel, make your changes in rvActionNew.OnNew event.
Sergey, yes, that worked. I'm working on switching my line number code from a component to code that paints directly to the rve canvas (I had to widen the leftmargin to do it). I've got it ...
- Thu Sep 04, 2025 8:59 am
- Forum: Support
- Topic: DefaultMargin
- Replies: 7
- Views: 16541
Re: DefaultMargin
Thanks Sergey, I'll try that.
Stan
Stan
- Wed Sep 03, 2025 9:58 pm
- Forum: Support
- Topic: DefaultMargin
- Replies: 7
- Views: 16541
Re: DefaultMargin
Sergey,
Looks like it's not the presence controlpanel. I put one in my small test app and it was fine. In my "real" app there's a lot of code and I had to fine the right place to put rve.LeftMargin := 85 and it's OK.
Just FYI.
Stan
Looks like it's not the presence controlpanel. I put one in my small test app and it was fine. In my "real" app there's a lot of code and I had to fine the right place to put rve.LeftMargin := 85 and it's OK.
Just FYI.
Stan
- Wed Sep 03, 2025 9:00 pm
- Forum: Support
- Topic: DefaultMargin
- Replies: 7
- Views: 16541
DefaultMargin
Sergey,
I am trying to set a different left margin in a regular rve. I have to have a controlpanel for other things, but the defaultmargin is stomping all over my leftmargin setting. I've tried all this and nothing works, all I get is whatever the defaultmargin is set to:
rveControlPanel ...
I am trying to set a different left margin in a regular rve. I have to have a controlpanel for other things, but the defaultmargin is stomping all over my leftmargin setting. I've tried all this and nothing works, all I get is whatever the defaultmargin is set to:
rveControlPanel ...
- Thu Aug 21, 2025 3:08 pm
- Forum: Support
- Topic: A better way to control spacing?
- Replies: 7
- Views: 51928
Re: A better way to control spacing?
Try 2 right-aligned tabs. First one with the leader (...) and second blank one. Play with the positioning and you might be able to make it work.ozznixon wrote: Thu Aug 21, 2025 2:55 am I took your suggestion - and in Paragraphs -> Tabs, leader (......) but it is still coming out a little staggered.
Stan
- Thu Jul 17, 2025 9:05 pm
- Forum: Support
- Topic: Bad RTF table causing RichView to error
- Replies: 17
- Views: 288537
Re: Bad RTF table causing RichView to error
Sergey may have a better idea, but here's mine.
I'm not entirely sure what all the vars are that are in play, but maybe change this:
for i:=maxIndex downto minIndex do begin //JGK was CurItem+reader.ItemCount-ItemCount+1 do begin
// Double-check bounds before accessing
if (i < 0) or (i ...
I'm not entirely sure what all the vars are that are in play, but maybe change this:
for i:=maxIndex downto minIndex do begin //JGK was CurItem+reader.ItemCount-ItemCount+1 do begin
// Double-check bounds before accessing
if (i < 0) or (i ...
- Thu Jul 17, 2025 10:49 am
- Forum: Support
- Topic: Linux Wordwrap
- Replies: 2
- Views: 37931
Re: Linux Wordwrap
Sergey,
I'm trying to run a windows app using wine on linux mint. The text in any paragraph would not wordwrap correctly.
I tried assigning RVStyle.TextEngine = rvteWindows, and yes, that fixes it. The usp10.dll exists in my wine windows system32 folder so not sure why it doesn't work as is.
I ...
I'm trying to run a windows app using wine on linux mint. The text in any paragraph would not wordwrap correctly.
I tried assigning RVStyle.TextEngine = rvteWindows, and yes, that fixes it. The usp10.dll exists in my wine windows system32 folder so not sure why it doesn't work as is.
I ...
- Thu Jul 17, 2025 8:59 am
- Forum: Support
- Topic: Bad RTF table causing RichView to error
- Replies: 17
- Views: 288537
Re: Bad RTF table causing RichView to error
You might check that i <> -1, and i <= reader.itemcount-1.
Stan
Stan
- Wed Jul 16, 2025 8:54 pm
- Forum: Support
- Topic: Linux Wordwrap
- Replies: 2
- Views: 37931
Linux Wordwrap
Sergey,
Is there something I need to do to get a regular rve to wordwrap when run in linux wine? I'm using linux mint 21.2 in a virtualbox VM. Could the VM or its settings be the issue?
Thanks
Stan
Is there something I need to do to get a regular rve to wordwrap when run in linux wine? I'm using linux mint 21.2 in a virtualbox VM. Could the VM or its settings be the issue?
Thanks
Stan
- Sun Jul 06, 2025 12:13 pm
- Forum: Support
- Topic: Always Show Scrollbars
- Replies: 0
- Views: 38839
Always Show Scrollbars
Sergey,
There's a win11 setting called "Always Show Scrollbars." If this is turned off (the default for win11 I think), the scrollbar thumbs show up when you mouse over the scrollbar. If it's on, the thumbs are always visible.
The rve scrollbars do not seem to respond to this setting and seem to ...
There's a win11 setting called "Always Show Scrollbars." If this is turned off (the default for win11 I think), the scrollbar thumbs show up when you mouse over the scrollbar. If it's on, the thumbs are always visible.
The rve scrollbars do not seem to respond to this setting and seem to ...
- Tue Jun 17, 2025 10:39 am
- Forum: Support
- Topic: Tab Key Behavior with Bulleted Lists in TRichViewEdit
- Replies: 1
- Views: 34334
Re: Tab Key Behavior with Bulleted Lists in TRichViewEdit
I use the TrvActionIndentDec (action for "Decrease Indent" command) and TrvActionIndentInc (action for "Increase Indent" command) actions. I have those assigned to some toolbar buttons.
I also put this into the rveKeyPress event so I can select some text and move it in or out using tab/shift+tab ...
I also put this into the rveKeyPress event so I can select some text and move it in or out using tab/shift+tab ...
- Thu May 29, 2025 6:53 pm
- Forum: Support
- Topic: Activate Insert Key
- Replies: 2
- Views: 47378
Re: Activate Insert Key
- Thu May 22, 2025 9:08 pm
- Forum: Support
- Topic: RTF issue in TRichViewEdit when created run-time
- Replies: 3
- Views: 53269
Re: RTF issue in TRichViewEdit when created run-time
Only thing I can think of is check the run-time rve RTFOptions and make sure they match the rve RTFOptions that works.
Stan
Stan