Search found 44 matches

by jota
Sat Aug 11, 2018 11:06 am
Forum: Support
Topic: GetItemTextR
Replies: 4
Views: 2420

Re: GetItemTextR

Hi, thank you so much for everything.
by jota
Fri Aug 10, 2018 9:32 am
Forum: Support
Topic: GetItemTextR
Replies: 4
Views: 2420

Re: GetItemTextR

I compose a text string, concatenating each line of a 'tdbrichview', stored in rvf format, in a blob field in the database. Some lines contain information such as the following. 'Name'#$D#$A'Discount'#$D#$A'Others'#$D#$A'10.03.2011 – 11.03.2011'#$D#$A #9 With this code in function 'GetItemText2Mod' ...
by jota
Thu Aug 09, 2018 11:13 am
Forum: Support
Topic: GetItemTextR
Replies: 4
Views: 2420

GetItemTextR

Hi The following function produces an error when compiling with trichview 17, because the "GetItemTextR" method does not exist Who can give me an alternative that works. Thanks in advance function GetItemText2Mod(RVData: TCustomRVData; ItemNo: Integer): TRVAnsiString; begin if RVData.GetItemStyle(It...
by jota
Thu Mar 23, 2017 8:41 am
Forum: Support
Topic: How to update bullets in tdbRichViewEdit?
Replies: 5
Views: 4273

Re: How to update bullets in tdbRichViewEdit?

Hello.

After knowing the situation, I will not modify the list of bullets,

Anyway, if it is not much effort, it would be interesting to know an example of the last option that you indicate, about application to bullets and numbering of the list level

Thanks again for the help.
by jota
Wed Mar 22, 2017 12:41 pm
Forum: Support
Topic: How to update bullets in tdbRichViewEdit?
Replies: 5
Views: 4273

Re: How to update bullets in tdbRichViewEdit?

Hello, only the bullets associated with the selected text scope

Thanks
by jota
Tue Mar 21, 2017 11:20 am
Forum: Support
Topic: How to update bullets in tdbRichViewEdit?
Replies: 5
Views: 4273

How to update bullets in tdbRichViewEdit?

Hello

I want to resize the bullets, when I change the font size of the associated text, keeping the existing formatting (indentation, characters used for bullets, etc.)

A simple way to do it ?, a small example code?

thank you for your attention
by jota
Tue Mar 21, 2017 7:58 am
Forum: Support
Topic: PrintPreview with images and text
Replies: 8
Views: 7356

Re: PrintPreview with images and text

Hello, I have found my error.

It is not in the tdbrichviewedit but in PrintPreview, specifically in onpageprepaint event, there is an align modification with settextalign that causes the problem.

I have corrected it by saving the alignment previously and restoring it later

Sorry and thanks.
by jota
Mon Mar 20, 2017 7:04 pm
Forum: Support
Topic: PrintPreview with images and text
Replies: 8
Views: 7356

Re: PrintPreview with images and text

Hello

I see text correctly in my tdbrichviewedit (and in Editor2 demo), but
in PrintPreview text appears before left margin

I attach two files: ppl (printpreview with rvaleft alignment in tdbrichviewedit) and ppj (printpreview with rvajustify alignment in tdbrichviewedit)

Thanks in advance
by jota
Mon Mar 13, 2017 8:28 am
Forum: Support
Topic: PrintPreview with images and text
Replies: 8
Views: 7356

Re: PrintPreview with images and text

Hello

I also think you're right but I can not find a way to solve it.

I attach two files, one with bullets that has a correct indentation and other without bullets with erroneous indentation (left of the left margin)

Thanks in advance
by jota
Thu Mar 09, 2017 3:58 pm
Forum: Support
Topic: PrintPreview with images and text
Replies: 8
Views: 7356

Re: PrintPreview with images and text

jota wrote:
Thu Mar 09, 2017 1:31 pm
It happens with TRichViewEdit.bidimode property equal to rvbdUnspecified. Changed to rvbdLeftoRight works fine.
Ignore previous solution since it is erroneous.The problem persists
If I insert bullet to the previous text, it adjusts to the left margin correctly
by jota
Thu Mar 09, 2017 1:31 pm
Forum: Support
Topic: PrintPreview with images and text
Replies: 8
Views: 7356

Re: PrintPreview with images and text

Hello.

It´s not problem with images.

It happens with TRichViewEdit.bidimode property equal to rvbdUnspecified. Changed to rvbdLeftoRight works fine.

Thanks
by jota
Wed Mar 08, 2017 11:26 am
Forum: Support
Topic: PrintPreview with images and text
Replies: 8
Views: 7356

PrintPreview with images and text

Hello In some documents that are displayed with TRVPrintPreview, composed of images and texts, the images appear correctly but part of the text appears outside the left margin. I have checked that if I put bullets to the text, it fits correctly. Any orientation or idea of why it occurs? Is it caused...
by jota
Mon Mar 06, 2017 7:27 am
Forum: Support
Topic: Printing footer
Replies: 3
Views: 3356

Re: Printing footer

Hi

I´m looking for coordinates of the foot to present a TextOut with page counter, in the OnPagePostpaint event, so that I can collect updated or recalculate those coordinates when I use trvprintpreview.

Thanks
by jota
Thu Mar 02, 2017 1:31 pm
Forum: Support
Topic: Printing footer
Replies: 3
Views: 3356

Printing footer

Hi

Is there a property in trvprint to get the coordinates of the foot inside the page to be printed?

Thanks in advance
by jota
Thu Feb 23, 2017 1:23 pm
Forum: Support
Topic: Print selected content
Replies: 2
Views: 3492

Print selected content

Hello

With the treatment given to printing in TRichView\Demos Delphi\Assorted\Printing
Is it possible to print only a selected piece inside a Trichview?, or you should create a temporary trichview, with the copy of the clipboard, for printing?

Thanks