Search found 13 matches: tfrxcomponent

Return to advanced search

Re: Dinamic picture change in FastReport

1. code : procedure Picture1OnBeforePrint(Sender: TfrxComponent); begin if callhbfunc('file',['.\sub\'+trim(<masterdata."imgid">)+'.jpg']) then TfrxPictureView(page1.FindObject('picture1')).Picture.LoadFromFile('.\sub\'+trim(<masterdata."imgid">)+'.jpg') ...
by Horizon
Fri Aug 12, 2016 8:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dinamic picture change in FastReport
Replies: 7
Views: 3101

Re: Dinamic picture change in FastReport

... in the report, i put a image control and in the event OnBeforePrint of de Page indicated the following: Page1OnBeforePrint procedure (Sender : TfrxComponent ) ; begin   if length ( < Logo_Empresa > ) < > 0 then          Picture1.LoadFromFile ( < Logo_Empresa > ) ;   end; <Logo_empresa> ...
by Mike Serra
Mon Jul 04, 2016 12:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dinamic picture change in FastReport
Replies: 7
Views: 3101

Re: Dinamic picture change in FastReport

1. code : procedure Picture1OnBeforePrint(Sender: TfrxComponent); begin if callhbfunc('file',['.\sub\'+trim(<masterdata."imgid">)+'.jpg']) then TfrxPictureView(page1.FindObject('picture1')).Picture.LoadFromFile('.\sub\'+trim(<masterdata."imgid">)+'.jpg') ...
by ShumingWang
Sat Jul 02, 2016 5:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dinamic picture change in FastReport
Replies: 7
Views: 3101

Re: FastReport LoadImageFromHbVar

... close the "picture" windows--left tribution table--event Picture1OnBeforePrint 2.2). code: procedure Picture1OnBeforePrint(Sender: TfrxComponent); begin callhbfunc('fr3img',['.\sub\'+vartostr(<masterdata."imgid">)+'.jpg']) ; // this selft defined prg function to ...
by ShumingWang
Thu Apr 17, 2014 4:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FastReport LoadImageFromHbVar
Replies: 8
Views: 1434

Fastreport ,How to onafterprint runs a "dbskip"

... 004 4.1 ... I want write a procedure , put an event to qtya column as onAfterprint skipOnAfterPrint() like : procedure skipOnAfterPrint(Sender: TfrxComponent); begin xxx.skip(1) end; begin end. What is xxx ? Thanks ! Shuming Wang
by ShumingWang
Tue Jan 21, 2014 9:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fastreport ,How to onafterprint runs a "dbskip"
Replies: 0
Views: 334

Re: Pregunta sobre Fastrepor como colocar una imagen

ruben, :TfxReport (Clase principal del reporte) Evento OnStartReport procedure OnStartReport(Sender: TfrxComponent); begin oPicture1.FileLink:= <cImagen> end; suponiendo que oPicture1 es el objeto de tu imagen, sino lo puedes resolver buscame por skype. salu2, Ariel.
by Ariel
Mon Jan 07, 2013 3:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pregunta sobre Fastrepor como colocar una imagen
Replies: 6
Views: 1218

Re: Arrays en FastReport (SOLUCIONADO)

... el número del grupo. Por lo tanto, nuestro script se verá como sigue: esto es lo que estoy haciendo: procedure GroupFooter1OnBeforePrint(Sender: TfrxComponent); begin if then Lista.Add(FloatToStr(SUM(<masterQuery."SALDO">,MasterData1))); Inc(i); { if (Copy(<masterQuery."SALDO">, ...
by Carlosrebu
Thu Sep 08, 2011 6:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Arrays en FastReport (SOLUCIONADO)
Replies: 11
Views: 2738

Re: How fastreport print table like xbrowse with jpg column?

... object named 'picture1' and place on a cell of masterdata, and close picturex dialog. 2. code area : procedure Picture1OnBeforePrint(Sender: TfrxComponent); begin callhbfunc('myfunc') ; // this selft defined prg function to load current row jpg into private 'myvar' LoadImageFromHbVar(Picture1,'myvar'); ...
by ShumingWang
Sun May 01, 2011 7:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How fastreport print table like xbrowse with jpg column?
Replies: 5
Views: 1305

How fastreport print table like xbrowse with jpg column?

... cell edit as [<picture1>] 3.the cell event onbeforeprint as ReportHOnStartReport 4.code as: procedure ReportHOnStartReport(Sender: TfrxComponent); begin LoadImageFromHbVar(Picture1, ‘MyVar’); end; begin end. Run time error : undeclared identifiey: picture1 if 4. code as: procedure ...
by ShumingWang
Fri Apr 22, 2011 2:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How fastreport print table like xbrowse with jpg column?
Replies: 5
Views: 1305

Re: OT: for Rendal

... your sample code and I keep getting an error when trying to print until I add another BEGIN END statement. procedure F_GroupFooter1(Sender: TfrxComponent); begin GroupFooter1.Visible := <Invoice."tax"> > 0; end; with the above I get a message: 'BEGIN' expected In the following ...
by Randal
Tue Mar 02, 2010 9:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GroupFooter - FastReport
Replies: 9
Views: 1824

Re: OT: for Rendal

... will be one less. Thanks, Randal Hallo Rendal, I think you can do it with the ONBeforePrint Event: PascalScript procedure F_GroupFooter1(Sender: TfrxComponent); begin GroupFooter1.Visible := <TestLogischeVariable> ; // not empty or whatever you want or pass a variable like I do it here ...
by Randal
Tue Mar 02, 2010 3:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GroupFooter - FastReport
Replies: 9
Views: 1824

Re: OT: for Rendal

Hallo Randal, I think you can do it with the ONBeforePrint Event: PascalScript procedure F_GroupFooter1(Sender: TfrxComponent); begin GroupFooter1.Visible := <TestLogischeVariable> ; // not empty or whatever you want or pass a variable like I do it here end; What I also do ...
by Otto
Mon Mar 01, 2010 7:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GroupFooter - FastReport
Replies: 9
Views: 1824

Re: FastReport

... of Memo to smActualHeight - Set MINIMUM HEIGHT for memo. if memo field can be empty then write event: procedure Child1OnBeforePrint(Sender: TfrxComponent); begin Child1.Visible := <table."memofield"> <> ''; end; http://www.atzwanger-software.com/fr/FRmemo1.jpg ...
by Otto
Tue Oct 06, 2009 12:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FastReport
Replies: 23
Views: 9907

Return to advanced search

cron