Search found 16 matches

by haidomingo
Thu May 11, 2017 10:23 am
Forum: ScaleRichView
Topic: First page header/footer are visible only after double-click
Replies: 8
Views: 38472

Re: First page header/footer are visible only after double-click

haidomingo wrote: Sat May 06, 2017 9:23 pm The header is show correctly But when double click in the header it disappears

I had forgotten to call before
StartEditing(srvrveHeader);
by haidomingo
Tue May 09, 2017 10:39 am
Forum: Support
Topic: Access objects from rvf
Replies: 4
Views: 14532

Re: Access objects from rvf

Sergey Tkachenko wrote: Mon May 08, 2017 7:39 pm ...
Call:

Code: Select all

DeleteTable(SRichViewEdit1.RichViewEdit, Table);
...
Thanks, works.
But

Code: Select all

DeleteTable(DeleteTable(SRichViewEdit1.[b]RVHeader[/b],Table);
It does not work well.
by haidomingo
Mon May 08, 2017 6:31 am
Forum: Support
Topic: Access objects from rvf
Replies: 4
Views: 14532

Access objects from rvf

Hi, if I create objects like: SRichViewEdit1.RichViewEdit.InsertItem('Table1',Table1); (Table1 : TRVTableItemInfo;) And save the file as rvf. When I load the rvf file, how do I access the Table1 object, and assign to Table1 var? (By the name 'Table1'?). Another questions: how to delete and free Tabl...
by haidomingo
Sat May 06, 2017 9:23 pm
Forum: ScaleRichView
Topic: First page header/footer are visible only after double-click
Replies: 8
Views: 38472

Re: First page header/footer are visible only after double-click

The header is show correctly But when double click in the header it disappears
by haidomingo
Sat May 06, 2017 4:28 pm
Forum: ScaleRichView
Topic: First page header/footer are visible only after double-click
Replies: 8
Views: 38472

Re: First page header/footer are visible only after double-click

I have the opposite effect when double-click on the header/footer ( double click hide header/footer ). my code for disable headr footer (unit pagetools): procedure TScEditor.SRichViewEdit1ChangeActiveEditor(Sender: TSRichViewEdit; ActiveEditor: TRichViewEdit); begin if (ActiveEditor=Sender.RVHeader)...
by haidomingo
Wed May 03, 2017 5:24 pm
Forum: Support
Topic: Create table (code) in a dll
Replies: 1
Views: 9242

Create table (code) in a dll

I try to create a dll with inside this code: library lib01; uses SysUtils, PngImage, RVtable, SclRView, RVStyle, Graphics; {$R *.res} procedure AdjustHeader(var TabHeader:TRVTableItemInfo);stdcall; begin TabHeader.Cells[0,0].BestHeight := 1; TabHeader.Cells[0,0].BestWidth := 1; TabHeader.Cells[0,1]....
by haidomingo
Sat Apr 29, 2017 2:06 pm
Forum: Support
Topic: Create form field to export PDF - llPDFLib
Replies: 4
Views: 18010

Re: Create form field to export PDF - llPDFLib

It works perfectly with

Code: Select all

ActiveEditor.ViewProperty.ZoomPercent:=100;
Thanks
by haidomingo
Sat Apr 29, 2017 9:22 am
Forum: Support
Topic: Create form field to export PDF - llPDFLib
Replies: 4
Views: 18010

Re: Create form field to export PDF - llPDFLib

This code find all SetLength(Firme, 0); while ActiveEditor.RichViewEdit.SearchText('{PS01}',[rvseoDown]) do begin inc(i); SetLength(Firme, i+1); ActiveEditor.RichViewEdit.GetItemCoords(ActiveEditor.RichViewEdit.CurItemNo, Firme[i].X,Firme[i].Y); Firme[i].page:=ActiveEditor.CurrentPage; end but Activ...
by haidomingo
Fri Apr 28, 2017 5:01 pm
Forum: Support
Topic: Create form field to export PDF - llPDFLib
Replies: 4
Views: 18010

Create form field to export PDF - llPDFLib

An rvf document that contains tables and text like {*/SPXX/*} in few cell, this file rvf should be exported to pdf. You have to search the text like {*/SPXX/*} inside the cells, get the text coordinate (Rect of Cell), store the coordinates, and delete the text {*/SPXX/*}. At the time of export, you ...
by haidomingo
Fri Dec 04, 2009 3:56 pm
Forum: Support
Topic: Change Page number footer
Replies: 1
Views: 10157

Re: Change Page number footer

Hi, how to change the text of the page number? In TRichViewEdit. (example (1 ----> Page 1 of 3) Thanks AutoReply: procedure TScEditor.SEditorPaintPage(Sender: TObject; PageNo: Integer; PageRect, R: TRect; Canvas: TCanvas); var H : Integer; Text: String; begin Canvas.Brush.Style := bsSolid; Canvas.B...
by haidomingo
Fri Dec 04, 2009 10:32 am
Forum: Support
Topic: Change Page number footer
Replies: 1
Views: 10157

Change Page number footer

Hi,
how to change the text of the page number?
In TRichViewEdit.
(example (1 ----> Page 1 of 3)
Thanks
by haidomingo
Mon Nov 30, 2009 5:49 pm
Forum: Support
Topic: Ruler - taDecimalAlign
Replies: 4
Views: 16887

Sergey Tkachenko wrote:This feature is supported by the ruler, but it is not supported by TRichViewEdit.
Sorry, it will not work.
This feature is supported in the new version? (TRichVieEdit)
by haidomingo
Sat Nov 14, 2009 3:42 pm
Forum: Support
Topic: repeated tag of database value
Replies: 5
Views: 17563

Choose one of these demos as an example: http://www.trichview.com/forums/viewtopic.php?t=8 Thanks I changed the code. New code .. http://www.mediafire.com/download.php?nkky5wmnttj I used recursion in the table. Seems to work. There are other cases in which my example is not working properly? Many t...
by haidomingo
Fri Nov 13, 2009 4:31 pm
Forum: Support
Topic: repeated tag of database value
Replies: 5
Views: 17563

Sergey Tkachenko wrote:Your code is correct (for documents without tables)....
If the document contains tables how do I change the code?