Search found 26 matches

by fara2000
Sun Mar 31, 2024 8:53 pm
Forum: Support
Topic: Math Support
Replies: 2
Views: 1754

Re: Math Support

Excellent> Thank you very much
by fara2000
Fri Mar 29, 2024 10:55 pm
Forum: Support
Topic: Math Support
Replies: 2
Views: 1754

Math Support

Hello Expert
I have TRichView version v12.0.2 installed on my computer. My question is:
How can I convert the RVMathItem expression to a bitmap using delphi?
Thank you in advance!
by fara2000
Fri Sep 15, 2023 2:35 pm
Forum: Support
Topic: Moving SclRvRuler1.BottomMargin by code
Replies: 7
Views: 18488

Re: Moving SclRvRuler1.BottomMargin by code

Thank you. I will do that.
you are as always very brilliant...
by fara2000
Thu Sep 14, 2023 7:48 pm
Forum: Support
Topic: Moving SclRvRuler1.BottomMargin by code
Replies: 7
Views: 18488

Re: Moving SclRvRuler1.BottomMargin by code

Hello Sergey I Got some help from samples in the demo and could write what I want it's ok. I found the soluttion... PageNo:=1; PageRect:=Rich.GetPageClientRect(PageNo); Rich.GetPageLastItemNo(PageNo,LastItemNo, Offs); ItemPart := 0; ItemRect := Bounds(0, 0, 0, 0); while Rich.GetItemBounds100(Rich.Ri...
by fara2000
Thu Sep 14, 2023 1:41 pm
Forum: Support
Topic: Moving SclRvRuler1.BottomMargin by code
Replies: 7
Views: 18488

Re: Moving SclRvRuler1.BottomMargin by code

Pixels... when I execute the Line SclRvRuler1.BottomMargin:=SclRvRuler1.BottomMargin+1; the BottomMargin jump one pixel upword. I need to know how many pixels there are between points A and B... I could retrieve the itemRect of the last item(table), then it seems that I should deal with (BottomMargi...
by fara2000
Thu Sep 14, 2023 12:00 pm
Forum: Support
Topic: Moving SclRvRuler1.BottomMargin by code
Replies: 7
Views: 18488

Re: Moving SclRvRuler1.BottomMargin by code

Thank you for your reply. It seems I have difficulties to present my problem! In the Line code you suggested, SRichViewEdit.SetFloatPropertyEd(srvfpPPBottomMargin, NewMarginValue, True); I need to calculate NewMarginValue so the BottomMargin(Presented By the Letter 'A' in the ScreenShut I sent) will...
by fara2000
Wed Sep 13, 2023 6:18 pm
Forum: Support
Topic: Moving SclRvRuler1.BottomMargin by code
Replies: 7
Views: 18488

Moving SclRvRuler1.BottomMargin by code

Hello Sergey, Hello active customers, I must be able to move the SclRvRuler1 from point A to point B by code! . The document contains a single Page. The point B should be at the Bottom of the last item in the SRichViewEdit1 page, in this case a table1. By the following line : SclRvRuler1.BottomMargi...
by fara2000
Sat Sep 09, 2023 12:29 pm
Forum: Support
Topic: Insert a bitmap in a table cell
Replies: 3
Views: 14747

Re: Insert a bitmap in a table cell

Thank you very much for tghe immediate response
by fara2000
Sat Sep 09, 2023 10:37 am
Forum: Support
Topic: Insert a bitmap in a table cell
Replies: 3
Views: 14747

Insert a bitmap in a table cell

Hello sergey When I insert a bitmap in a table cell. I try to free the bitmap when done, but An exception in arised Why??? Please Help!!! procedure TFScienceStudio.InsertBitmap1Click(Sender: TObject); var Table:TrvTableItemInfo; BitMap:TBitmap; Row,Col:Integer; begin Table:=GetTable(Rich.RichViewEdi...
by fara2000
Wed Jun 28, 2023 10:34 am
Forum: Support
Topic: Table.Cells[j,i].AddNL
Replies: 9
Views: 22029

Re: Table.Cells[j,i].AddNL

Hello I attached a screenshot to explain my self. As you can see, the last Line of the table(in SRichViewedit document) jumped to a new page. I don't want this to happen! I could solve this problem by dragging down the sclruler at the left side, however What I really need is to do it by code so the ...
by fara2000
Mon Jun 26, 2023 2:04 pm
Forum: Support
Topic: Table.Cells[j,i].AddNL
Replies: 9
Views: 22029

Re: Table.Cells[j,i].AddNL

Please I still have a problem with my second question. As a matter of fact I need to read the Bottom Coordination of the document not including empty area. Which Means I need to read the Bottom Coordination of the last Item in the document!!!! It seems that Rich.RichViewEdit.DocumentHeight gives the...
by fara2000
Mon Jun 26, 2023 1:19 pm
Forum: Support
Topic: Table.Cells[j,i].AddNL
Replies: 9
Views: 22029

Re: Table.Cells[j,i].AddNL

It works!!!
Than you. You are wonderful as always :D
by fara2000
Mon Jun 26, 2023 1:01 pm
Forum: Support
Topic: Table.Cells[j,i].AddNL
Replies: 9
Views: 22029

Re: Table.Cells[j,i].AddNL

Thank you for your reply for my First question. here is the function I use: function GetTextStyle(RVStyle:TRvStyle;Style: TFontStyles; Color: TColor; SScript: TRVSubSuperScriptType; SizeDouble: Integer): Integer; var TextStyle: TFontInfo; begin TextStyle := TFontInfo.Create(nil); TextStyle.Assign(RV...
by fara2000
Sat Jun 24, 2023 4:36 pm
Forum: Support
Topic: Table.Cells[j,i].AddNL
Replies: 9
Views: 22029

Table.Cells[j,i].AddNL

Hello everyone First question: When I try to add 'v=-2m/s' to a cell in my table by using the following: Table.Cells[0,0].AddNL( 'v=-2m/s ' ,GetTextStyle(Table.GetRVStyle,[fsBold],clRed,rvsssNormal,60),1); I get the inversed string: 'v=m/s 2- ' inside the cell. I believe the problem will be solved i...
by fara2000
Mon Dec 26, 2022 2:22 pm
Forum: Support
Topic: Selecting A cell in a table
Replies: 1
Views: 2985

Selecting A cell in a table

Hello Sergey
In the Line Table1.cells[table1.RowCount-1,0].SetItemText(0,'Hello');
I need to force Aligning the word 'Hello' horizontally at the center of the Cell. How to do that???
Thank you in advance