Search found 48 matches

by jota
Sat Nov 21, 2020 3:54 pm
Forum: Support
Topic: TDBRichViewEdit (Special Edition)
Replies: 1
Views: 12552

TDBRichViewEdit (Special Edition)

Hi. An example code in which, when typing a lowercase letter after a period character, it becomes uppercase. I have managed to do it in the OnChange event (through the TDBRichViewEdit.SetItemTex and TDBRichViewEdit.InsertText methods), but later the Redo and Undo methods for the converted character ...
by jota
Fri Nov 20, 2020 10:45 pm
Forum: Support
Topic: Tdbrichviewedit onchanging event
Replies: 1
Views: 11513

Tdbrichviewedit onchanging event

Hi

Can any of you give me a small example of code to use the onchanging event?

Thanks in advance
by jota
Sat Nov 14, 2020 2:39 pm
Forum: Support
Topic: TdbRichViewEdit cursor position
Replies: 1
Views: 10402

TdbRichViewEdit cursor position

Hi

Can somebody help me?
How can you detect that the cursor is positioned on the first character of a line (with or without a bullet)?

Thanks in advance
by jota
Sun Dec 15, 2019 11:32 am
Forum: Examples, Demos
Topic: Load multiple pieces of data into TRichView/TRichViewEdit
Replies: 1
Views: 51684

Load multiple pieces of data into TRichView/TRichViewEdit

Hi.
How can I add, sequentially, a series of text values and RVF values, in a richview or richviewedit, without losing the previous piece.
Small example?
Thanks in advance.
by jota
Sat Aug 11, 2018 11:06 am
Forum: Support
Topic: GetItemTextR
Replies: 4
Views: 18261

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: 18261

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: 18261

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 ...
by jota
Thu Mar 23, 2017 8:41 am
Forum: Support
Topic: How to update bullets in tdbRichViewEdit?
Replies: 5
Views: 19411

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: 19411

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: 19411

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: 30527

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: 30527

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: 30527

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: 30527

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: 30527

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