Spirin Sergey Posted October 26, 2008 Report Share Posted October 26, 2008 Hello, all, Since version 4.7.xx, In FRH is added frequently asked functionality - multiple not-modal preview mode based on different reports. For this one following methods are added: :AddReport() - adds new report and makes it "selected" (active). Return number of new report. :SelectReport(nReport) - selects existing report. :RemoveReport(nReport) - removes existing report. :ClearReports() - clear all reports except report with number 0. :PreviewOptions:SetModal(lModal) - makes selected report preview modal or not modal. :PreviewOptions:SetRemoveReportOnClose(lRemove) is added. If lRemove = .t. then report will be removed (destroyed) at preview closing. It does not work for report with number 0. Report with number 0 always exists. Example of using: FrPrn:AddReport() FrPrn:LoadFromFile("1.fr3") FrPrn:PreviewOptions:SetMaximized(.f.) FrPrn:PreviewOptions:SetBounds(120, 120, 800, 600) FrPrn:PreviewOptions:SetModal(.f.) FrPrn:ShowReport() --- Let's remind that FRH is a report generator for giving [x]Harbour applications the ability to generate professional reports quickly and efficiently. Fully compatible with any Harbour or xHarbour -based systems in Win32, like FiveWin, Xailer, MiniGUI etc. For more information, look: http://www.paritetsoft.ru/frh.htm --- Spirin Sergey. "Paritet Soft" Company. FRH sales: http://www.paritetsoft.ru/frh.htm FRAX sales: http://www.hotsoft.ru/ALASKA/frax_eng.htm Quote Link to comment Share on other sites More sharing options...
Spirin Sergey Posted October 26, 2008 Author Report Share Posted October 26, 2008 Hello, all, Since version 4.7.xx, In FRH is added frequently asked functionality - multiple not-modal preview mode based on different reports. For this one following methods are added: :AddReport() - adds new report and makes it "selected" (active). Return number of new report. :SelectReport(nReport) - selects existing report. :RemoveReport(nReport) - removes existing report. :ClearReports() - clear all reports except report with number 0. :PreviewOptions:SetModal(lModal) - makes selected report preview modal or not modal. :PreviewOptions:SetRemoveReportOnClose(lRemove) is added. If lRemove = .t. then report will be removed (destroyed) at preview closing. It does not work for report with number 0. Report with number 0 always exists. Example of using: FrPrn:AddReport() FrPrn:LoadFromFile("1.fr3") FrPrn:PreviewOptions:SetMaximized(.f.) FrPrn:PreviewOptions:SetBounds(120, 120, 800, 600) FrPrn:PreviewOptions:SetModal(.f.) FrPrn:ShowReport() --- Let's remind that FRH is a report generator for giving [x]Harbour applications the ability to generate professional reports quickly and efficiently. Fully compatible with any Harbour or xHarbour -based systems in Win32, like FiveWin, Xailer, MiniGUI etc. For more information, look: http://www.paritetsoft.ru/frh.htm --- Spirin Sergey. "Paritet Soft" Company. FRH sales: http://www.paritetsoft.ru/frh.htm FRAX sales: http://www.hotsoft.ru/ALASKA/frax_eng.htm Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.