I use ScaleRichView as the non-visual component, if I manually set PageProperty.BottomMargin:= X Value, it displays correctly that X is set to a correct value, I approximate because I don't know what the Footer height is (work ok if I have 3..4 rows).
You said I have to use the formula: visible ...
Search found 19 matches
- Sat Jan 31, 2026 2:07 pm
- Forum: ScaleRichView
- Topic: set BottomMargin with Footer Height
- Replies: 2
- Views: 30
- Sat Jan 31, 2026 8:29 am
- Forum: ScaleRichView
- Topic: set BottomMargin with Footer Height
- Replies: 2
- Views: 30
set BottomMargin with Footer Height
srve.PageProperty.BottomMargin :=
Hi,
How can I set srve.PageProperty.BottomMargin with footer height?
procedure ApplyFooter(Vars: array of rVarS);
cousin
i, j: Integer;
Tables: TRVTableItemInfo;
CenteredParaNo, TabbedParaNo, NormalTextNo, NormalTextNo2: Integer;
// BoldTextNo, NormalParaNo ...
Hi,
How can I set srve.PageProperty.BottomMargin with footer height?
procedure ApplyFooter(Vars: array of rVarS);
cousin
i, j: Integer;
Tables: TRVTableItemInfo;
CenteredParaNo, TabbedParaNo, NormalTextNo, NormalTextNo2: Integer;
// BoldTextNo, NormalParaNo ...
- Mon May 05, 2025 4:53 am
- Forum: Support
- Topic: Deleting a range
- Replies: 12
- Views: 151226
Re: Deleting a range
Hi Sergey,
I managed to test your code and from the first tests it works perfectly. I will have to check in more detail the combinations that can occur when calling the function in combination with my code to adapt it to the needs of my application.
Thanks again for the effort and help.
I managed to test your code and from the first tests it works perfectly. I will have to check in more detail the combinations that can occur when calling the function in combination with my code to adapt it to the needs of my application.
Thanks again for the effort and help.
- Wed Apr 30, 2025 1:07 pm
- Forum: Support
- Topic: Deleting a range
- Replies: 12
- Views: 151226
Re: Deleting a range
Wow, how fast you posted, I'll try the acid towards the end of the weekend. Thanks.
- Wed Apr 30, 2025 1:05 pm
- Forum: Support
- Topic: Deleting a range
- Replies: 12
- Views: 151226
Re: Deleting a range
Yes, now it detects the two keywords in the text ok, but the problem remained with detecting keywords in tables an remove text in cells.
- Wed Apr 30, 2025 9:51 am
- Forum: Support
- Topic: Deleting a range
- Replies: 12
- Views: 151226
Re: Deleting a range
Like this demo, remove all item between \if_del\ and \end_del\
- Wed Apr 30, 2025 9:13 am
- Forum: Support
- Topic: Deleting a range
- Replies: 12
- Views: 151226
Re: Deleting a range
Theoretically it should delete everything between the two keywords, true, it could be on other rows, but never in different tables.
- Wed Apr 30, 2025 8:09 am
- Forum: Support
- Topic: Deleting a range
- Replies: 12
- Views: 151226
Re: Deleting a range
var ItemNoI, ItemNoF, OffsI, OffsF: Integer;
tle1, tle2: TCustomRichViewEdit;
rve.SearchText('Inicia bloco', [rvseoDown, rvseoWholeWord]);
tle1 := rve.TopLevelEditor;
tle1.GetSelectionBounds(ItemNoI, OffsI, dummy, dummy, True); // storing the position before selection in ItemNoI, OffsI
rve ...
tle1, tle2: TCustomRichViewEdit;
rve.SearchText('Inicia bloco', [rvseoDown, rvseoWholeWord]);
tle1 := rve.TopLevelEditor;
tle1.GetSelectionBounds(ItemNoI, OffsI, dummy, dummy, True); // storing the position before selection in ItemNoI, OffsI
rve ...
- Thu Apr 24, 2025 1:39 pm
- Forum: ScaleRichView
- Topic: Read ParaNo from cells
- Replies: 7
- Views: 572891
Re: Read ParaNo from cells
Yes, I also thought that because of the items there are problems, but I thought that on Add... it basically increments items.
Method 1 works ok.
Method 2 works, but it moves the table completely into the page, part of it is removed without being in the editing area.
Thank you very much for your ...
Method 1 works ok.
Method 2 works, but it moves the table completely into the page, part of it is removed without being in the editing area.
Thank you very much for your ...
- Wed Apr 23, 2025 2:26 pm
- Forum: ScaleRichView
- Topic: Read ParaNo from cells
- Replies: 7
- Views: 572891
Re: Read ParaNo from cells
My Project.
Regard.
Regard.
- Wed Apr 23, 2025 12:22 pm
- Forum: ScaleRichView
- Topic: Read ParaNo from cells
- Replies: 7
- Views: 572891
Re: Read ParaNo from cells
Yes, I tried and it doesn't work, add a space after each item added to the cell in the source cell (the first row/corresponding column) is the source.
I tried with .AddItemAsIs, but it gives an error when I try to close the program, it's clear to me that something is wrong with how I did it
Can I ...
I tried with .AddItemAsIs, but it gives an error when I try to close the program, it's clear to me that something is wrong with how I did it
Can I ...
- Wed Apr 23, 2025 4:50 am
- Forum: ScaleRichView
- Topic: Read ParaNo from cells
- Replies: 7
- Views: 572891
Re: Read ParaNo from cells
I found how I can read ParaNo, but now I have another problem, it adds a new line after each Item, how can I copy the cell as defined on the first row (0)?
procedure CopyCell(r, c: Integer) ;
var
i: Integer;
begin
for i := 0 to table.Cells[0, c].ItemCount - 1 do
begin
table.Cells[r, c].AddNL ...
procedure CopyCell(r, c: Integer) ;
var
i: Integer;
begin
for i := 0 to table.Cells[0, c].ItemCount - 1 do
begin
table.Cells[r, c].AddNL ...
- Tue Apr 22, 2025 6:19 pm
- Forum: ScaleRichView
- Topic: Read ParaNo from cells
- Replies: 7
- Views: 572891
Read ParaNo from cells
Hi,
I want to read data from a cell and transfer it to another cell along with Style and ParaNo. How to read ParaNo from source cell ?
for i := 0 to table.Cells[0, c].ItemCount - 1 do
begin
table.Cells[r, c].AddNL(table.Cells[0, c].GetItemText(i), table.Cells[0, c].GetItemStyle(i), [b]???[/b ...
I want to read data from a cell and transfer it to another cell along with Style and ParaNo. How to read ParaNo from source cell ?
for i := 0 to table.Cells[0, c].ItemCount - 1 do
begin
table.Cells[r, c].AddNL(table.Cells[0, c].GetItemText(i), table.Cells[0, c].GetItemStyle(i), [b]???[/b ...
- Fri Apr 18, 2025 5:24 pm
- Forum: ScaleRichView
- Topic: Edit Header/Footer without Focus
- Replies: 2
- Views: 88593
Re: Edit Header/Footer without Focus
Do you have any demo that can help me understand how to search and replace header data?
- Fri Apr 18, 2025 4:26 pm
- Forum: ScaleRichView
- Topic: Edit Header/Footer without Focus
- Replies: 2
- Views: 88593
Edit Header/Footer without Focus
Hi,
I want to make a DLL with TSRichViewEdit that will not be visual, I load RVF files, process the text, then I want to process (find & replace) the data in the Header and Footer. How could I process the data in the Header and Footer without entering the editing "StartEditing(srvrveHeader ...
I want to make a DLL with TSRichViewEdit that will not be visual, I load RVF files, process the text, then I want to process (find & replace) the data in the Header and Footer. How could I process the data in the Header and Footer without entering the editing "StartEditing(srvrveHeader ...