Search found 208 matches

by standay
Sun Mar 17, 2024 10:30 pm
Forum: Support
Topic: Make the caret visible
Replies: 3
Views: 2155

Re: Make the caret visible

rve.Format was done. The key is really rve.SetFocus : the caret is now visible. But, strangely, it blinks 5 times then remains frozen (visible but not blinking). Thank you That's a Windows OS thing. The caret in all edit controls stops blinking. A few custom programs override this, and you can chan...
by standay
Tue Feb 06, 2024 12:13 pm
Forum: Support
Topic: Issue with TDBRichViewEdit and Image Dimensions in Markdown Mode
Replies: 9
Views: 4637

Re: Issue with TDBRichViewEdit and Image Dimensions in Markdown Mode

In my code, I set an extra integer property: rv.SetCurrentItemExtraIntProperty(rvepImageWidth, CurWidth , True); Then later I can get that property: rv.GetItemExtraIntProperty(ItemNo, rvepImageWidth, i ); Then I can see the display width and actual width: msg := msg + #13'Display/Actual Width: ' + i...
by standay
Mon Feb 05, 2024 6:20 pm
Forum: Support
Topic: Issue with TDBRichViewEdit and Image Dimensions in Markdown Mode
Replies: 9
Views: 4637

Re: Issue with TDBRichViewEdit and Image Dimensions in Markdown Mode

Sergey will know for sure but you may need to do something like this: First, get the current image info into some vars: rv.GetCurrentPictureInfo( s, gr, RVAlign, ATag ); w := gr.Width; h := gr.Height; Change your w and h, then set picture info with new values for height and width... rv.SetCurrentPic...
by standay
Thu Jan 18, 2024 5:37 pm
Forum: Support
Topic: Right Aligned Image Draws Line
Replies: 2
Views: 4578

Re: Right Aligned Image Draws Line

Hi Sergey,

Yes, I just figured this out when you posted! I set FloatingLineColor to clNone in my 2 main styles and it's gone.

Thanks!

Stan
by standay
Thu Jan 18, 2024 3:42 pm
Forum: Support
Topic: Right Aligned Image Draws Line
Replies: 2
Views: 4578

Right Aligned Image Draws Line

Hi Sergey, Using 21.7.3 rve. I noticed today that if I put an image into the rve and align it to the right side, a line gets drawn from the left over to the image: right_aligned_line.png This happens even in the rve demo. Is there a fix for that (for my version)? I'd guess it's something to do with ...
by standay
Sun Jan 14, 2024 1:41 pm
Forum: Support
Topic: pagebreaks
Replies: 1
Views: 24726

Re: pagebreaks

I finally worked out why I was seeing 2 pagebreaks when spinning through the printable rv drawitems. If an item has enough text in it that it's wordwrapped, that results in multiple drawitems, and each one of those drawitems have the same base item no. So, when I did this: if Sender.rv.RVData.PageBr...
by standay
Fri Jan 12, 2024 9:31 pm
Forum: Support
Topic: pagebreaks
Replies: 1
Views: 24726

pagebreaks

Hi Sergey, I've been working on this for 3 days and I'm out of ideas. I'm trying to get line numbers in the left margin of the print preview. I'm using a regular rve and rvprintpreview components (not actions). I have it working pretty well now unless I add pagebreaks into my file, then all my drawi...
by standay
Sat Dec 30, 2023 7:46 pm
Forum: Support
Topic: Leak Using rvActionOpen
Replies: 8
Views: 132839

Re: Leak Using rvActionOpen

Thanks Sergey. You probably mean it's in 22.1.1?

Stan
by standay
Fri Dec 29, 2023 9:30 pm
Forum: Support
Topic: print preview and page setup actions
Replies: 1
Views: 43815

print preview and page setup actions

Hi Sergey, I've run into something I don't understand. In a new VCL project using an rve 21.7.3. Add: rve rve style (link to rve) rva control panel (link to rvprint) rvprint action list with print preveiw, print, and pagesetup actions a button that runs the print preview action. OK, leave the print ...
by standay
Sun Dec 17, 2023 7:00 pm
Forum: Support
Topic: Leak Using rvActionOpen
Replies: 8
Views: 132839

Re: Leak Using rvActionOpen

Thanks Sergey, that seems to have fixed it!

Stan
by standay
Sat Dec 16, 2023 11:42 am
Forum: Support
Topic: Leak Using rvActionOpen
Replies: 8
Views: 132839

Re: Leak Using rvActionOpen

Sergey, Here's a typical docx file I had trouble with:
Hyperthyroidism.docx
(15.98 KiB) Downloaded 3059 times
by standay
Fri Dec 08, 2023 10:59 am
Forum: Support
Topic: Leak Using rvActionOpen
Replies: 8
Views: 132839

Re: Leak Using rvActionOpen

Sergey Tkachenko wrote: Fri Dec 08, 2023 8:28 am Can you send me a DocX file where it happens?
Hi Sergey,

I sent one to the richview gmail account.

Stan
by standay
Thu Dec 07, 2023 7:53 pm
Forum: Support
Topic: Leak Using rvActionOpen
Replies: 8
Views: 132839

Leak Using rvActionOpen

Sergey, I'm still using rve version 21.7.3. When using an rvActionOpen to open a Word docx file, it opens OK, but I'm getting a leak reported by madexcept in TRVCPInfo (see attached screenshot) when I close the app. This seems to only happen with Word files, but I haven't tried it with every possibl...
by standay
Thu Nov 02, 2023 2:09 pm
Forum: Support
Topic: InsertRVFFromStream extra line at end
Replies: 2
Views: 17899

Re: InsertRVFFromStream extra line at end

OK, that helps, thanks Sergey!

I made a note of all this in my code.

Stan
by standay
Sun Oct 22, 2023 9:05 pm
Forum: Support
Topic: Controlling and formatting dropped text
Replies: 10
Views: 32255

Re: Controlling and formatting dropped text

Maybe:

Code: Select all

ReleaseStgMedium(Medium);
?

Not sure but that might do it.

Stan