FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Set the margin for a report using FASTREPORT? (SOLVED)
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
Set the margin for a report using FASTREPORT? (SOLVED)
Posted: Mon Oct 31, 2016 04:36 PM
Hi Friends:

From code, I need to set the margins for a report made with fastreport, anyone know how?

I have this code:

Code (fw): Select all Collapse
    oFr := frReportManager():New()
    oFr:LoadLangRes("SPANISH.Xml")
    oFr:SetIcon("AppLogo")

    oFr:AddPage("Pagina")

    oFr:AddBand("Header","Pagina",frxPageHeader)
    oFr:AddBand("MasterData","Pagina",frxMasterData)
    oFr:AddBand("Footer","Pagina",frxPageFooter)


Then I need to define the LeftMargin, RightMargin, TopMargin, RightMargin, Orientation, Font,
Font size, Page size.

Thanks for your help.

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: How I can set the margin for a report using FASTREPORT?
Posted: Mon Oct 31, 2016 07:59 PM
Hi,

Did you try this?

Code (fw): Select all Collapse
oFr:SetProperty("pagina", "LeftMargin", 2)
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
How I can set the margin for a report using FASTREPORT? (SOL
Posted: Mon Oct 31, 2016 11:34 PM

Horizon:

Thanks a lot.

Best regards

SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero

Continue the discussion