diff options
author | Jean-Marc Levecque <jmarc.levecque@dbmail.com> | 2010-12-01 09:16:22 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-12-01 09:16:22 +0200 |
commit | e01c52a650bfdcce0bb1c8bbceefeb4e8dd46764 (patch) | |
tree | f5d06d038d4295ed4b722482311bc4171d11d4d7 /extras | |
parent | 55f853725f65051c9e9e30e6ae4f3d64d2a81ad1 (diff) | |
download | fpGUI-e01c52a650bfdcce0bb1c8bbceefeb4e8dd46764.tar.xz |
Added new images for the report engine
Diffstat (limited to 'extras')
15 files changed, 414 insertions, 47 deletions
diff --git a/extras/contributed/report_tool/demo/u_demo.pas b/extras/contributed/report_tool/demo/u_demo.pas index 88bd4e09..c2084820 100644 --- a/extras/contributed/report_tool/demo/u_demo.pas +++ b/extras/contributed/report_tool/demo/u_demo.pas @@ -100,7 +100,7 @@ var implementation uses - U_Imprime, U_Commande, U_Pdf; + U_Imprime, U_Commande, U_Pdf, U_ReportImages; var ChartValues: array[0..18] of Integer; @@ -1288,6 +1288,7 @@ WindowTitle:= 'PDF demo'; SetPosition(0, 0, 650, 500); WindowPosition:= wpScreenCenter; Sizeable:= False; +CreateReportImages; fpgSetNamedColor(clWindowBackground,clPaleGreen); fpgSetNamedColor(clButtonFace,clCyan); fpgSetNamedColor(clText1,clBlue); @@ -1296,49 +1297,49 @@ fpgSetNamedColor(clSelectionText,clDarkBlue); fpgSetNamedFont('Label1','bitstream vera sans-10'); fpgSetNamedFont('Edit1','bitstream vera sans-10'); L_Visu:= CreateLabel(Self,50,5,'Print to PDF',150,20,taCenter); -Bt_PdfEmptyPage:= CreateButton(Self,50,30,150,'Empty page',@Bt_PdfEmptyPageClick,'stdimg.Adobe_pdf'); -Bt_PdfSimpleText:= CreateButton(Self,50,70,150,'Simple text',@Bt_PdfSimpleTextClick,'stdimg.Adobe_pdf'); -Bt_PdfMultiPages:= CreateButton(Self,50,110,150,'Multiple pages',@Bt_PdfMultiPagesClick,'stdimg.Adobe_pdf'); -Bt_PdfMultiSections:= CreateButton(Self,50,150,150,'Multiple sections',@Bt_PdfMultiSectionsClick,'stdimg.Adobe_pdf'); -Bt_PdfOutlines:= CreateButton(Self,50,190,150,'Outlines',@Bt_PdfOutlinesClick,'stdimg.Adobe_pdf'); -Bt_PdfCadres:= CreateButton(Self,50,230,150,'Draw frames',@Bt_PdfCadresClick,'stdimg.Adobe_pdf'); -Bt_PdfColor:= CreateButton(Self,50,270,150,'Show colors',@Bt_PdfColorClick,'stdimg.Adobe_pdf'); -Bt_PdfLines:= CreateButton(Self,50,310,150,'Draw lines',@Bt_PdfLinesClick,'stdimg.Adobe_pdf'); -Bt_PdfGrid:= CreateButton(Self,50,350,150,'Show grid',@Bt_PdfGridClick,'stdimg.Adobe_pdf'); -Bt_PdfGraph:= CreateButton(Self,50,390,150,'Show graph',@Bt_PdfGraphClick,'stdimg.Adobe_pdf'); +Bt_PdfEmptyPage:= CreateButton(Self,50,30,150,'Empty page',@Bt_PdfEmptyPageClick,'repimg.Adobe_pdf'); +Bt_PdfSimpleText:= CreateButton(Self,50,70,150,'Simple text',@Bt_PdfSimpleTextClick,'repimg.Adobe_pdf'); +Bt_PdfMultiPages:= CreateButton(Self,50,110,150,'Multiple pages',@Bt_PdfMultiPagesClick,'repimg.Adobe_pdf'); +Bt_PdfMultiSections:= CreateButton(Self,50,150,150,'Multiple sections',@Bt_PdfMultiSectionsClick,'repimg.Adobe_pdf'); +Bt_PdfOutlines:= CreateButton(Self,50,190,150,'Outlines',@Bt_PdfOutlinesClick,'repimg.Adobe_pdf'); +Bt_PdfCadres:= CreateButton(Self,50,230,150,'Draw frames',@Bt_PdfCadresClick,'repimg.Adobe_pdf'); +Bt_PdfColor:= CreateButton(Self,50,270,150,'Show colors',@Bt_PdfColorClick,'repimg.Adobe_pdf'); +Bt_PdfLines:= CreateButton(Self,50,310,150,'Draw lines',@Bt_PdfLinesClick,'repimg.Adobe_pdf'); +Bt_PdfGrid:= CreateButton(Self,50,350,150,'Show grid',@Bt_PdfGridClick,'repimg.Adobe_pdf'); +Bt_PdfGraph:= CreateButton(Self,50,390,150,'Show graph',@Bt_PdfGraphClick,'repimg.Adobe_pdf'); L_Pdf:= CreateLabel(Self,250,5,'Preview',150,20,taCenter); -Bt_VisuEmptyPage:= CreateButton(Self,250,30,150,'Empty page',@Bt_VisuEmptyPageClick,'stdimg.Preview'); -Bt_VisuSimpleText:= CreateButton(Self,250,70,150,'Simple text',@Bt_VisuSimpleTextClick,'stdimg.Preview'); -Bt_VisuMultiPages:= CreateButton(Self,250,110,150,'Multiple pages',@Bt_VisuMultiPagesClick,'stdimg.Preview'); -Bt_VisuMultiSections:= CreateButton(Self,250,150,150,'Multiple sections',@Bt_VisuMultiSectionsClick,'stdimg.Preview'); -Bt_VisuOutlines:= CreateButton(Self,250,190,150,'Outlines',@Bt_VisuOutlinesClick,'stdimg.Preview'); -Bt_VisuCadres:= CreateButton(Self,250,230,150,'Draw frames',@Bt_VisuCadresClick,'stdimg.Preview'); -Bt_VisuColor:= CreateButton(Self,250,270,150,'Show colors',@Bt_VisuColorClick,'stdimg.Preview'); -Bt_VisuLines:= CreateButton(Self,250,310,150,'Draw lines',@Bt_VisuLinesClick,'stdimg.Preview'); -Bt_VisuGrid:= CreateButton(Self,250,350,150,'Show grid',@Bt_VisuGridClick,'stdimg.Preview'); -Bt_VisuGraph:= CreateButton(Self,250,390,150,'Show graph',@Bt_VisuGraphClick,'stdimg.Preview'); +Bt_VisuEmptyPage:= CreateButton(Self,250,30,150,'Empty page',@Bt_VisuEmptyPageClick,'repimg.Preview'); +Bt_VisuSimpleText:= CreateButton(Self,250,70,150,'Simple text',@Bt_VisuSimpleTextClick,'repimg.Preview'); +Bt_VisuMultiPages:= CreateButton(Self,250,110,150,'Multiple pages',@Bt_VisuMultiPagesClick,'repimg.Preview'); +Bt_VisuMultiSections:= CreateButton(Self,250,150,150,'Multiple sections',@Bt_VisuMultiSectionsClick,'repimg.Preview'); +Bt_VisuOutlines:= CreateButton(Self,250,190,150,'Outlines',@Bt_VisuOutlinesClick,'repimg.Preview'); +Bt_VisuCadres:= CreateButton(Self,250,230,150,'Draw frames',@Bt_VisuCadresClick,'repimg.Preview'); +Bt_VisuColor:= CreateButton(Self,250,270,150,'Show colors',@Bt_VisuColorClick,'repimg.Preview'); +Bt_VisuLines:= CreateButton(Self,250,310,150,'Draw lines',@Bt_VisuLinesClick,'repimg.Preview'); +Bt_VisuGrid:= CreateButton(Self,250,350,150,'Show grid',@Bt_VisuGridClick,'repimg.Preview'); +Bt_VisuGraph:= CreateButton(Self,250,390,150,'Show graph',@Bt_VisuGraphClick,'repimg.Preview'); L_Print:= CreateLabel(Self,450,5,'Print to printer',150,20,taCenter); -Bt_PrintEmptyPage:= CreateButton(Self,450,30,150,'Empty page',@Bt_PrintEmptyPageClick,'stdimg.Imprimer'); +Bt_PrintEmptyPage:= CreateButton(Self,450,30,150,'Empty page',@Bt_PrintEmptyPageClick,'repimg.Imprimer'); Bt_PrintEmptyPage.Enabled:= False; -Bt_PrintSimpleText:= CreateButton(Self,450,70,150,'Simple text',@Bt_PrintSimpleTextClick,'stdimg.Imprimer'); +Bt_PrintSimpleText:= CreateButton(Self,450,70,150,'Simple text',@Bt_PrintSimpleTextClick,'repimg.Imprimer'); Bt_PrintSimpleText.Enabled:= False; -Bt_PrintMultiPages:= CreateButton(Self,450,110,150,'Multiple pages',@Bt_PrintMultiPagesClick,'stdimg.Imprimer'); +Bt_PrintMultiPages:= CreateButton(Self,450,110,150,'Multiple pages',@Bt_PrintMultiPagesClick,'repimg.Imprimer'); Bt_PrintMultiPages.Enabled:= False; -Bt_PrintMultiSections:= CreateButton(Self,450,150,150,'Multiple sections',@Bt_PrintMultiSectionsClick,'stdimg.Imprimer'); +Bt_PrintMultiSections:= CreateButton(Self,450,150,150,'Multiple sections',@Bt_PrintMultiSectionsClick,'repimg.Imprimer'); Bt_PrintMultiSections.Enabled:= False; -Bt_PrintOutlines:= CreateButton(Self,450,190,150,'Outlines',@Bt_PrintOutlinesClick,'stdimg.Imprimer'); +Bt_PrintOutlines:= CreateButton(Self,450,190,150,'Outlines',@Bt_PrintOutlinesClick,'repimg.Imprimer'); Bt_PrintOutlines.Enabled:= False; -Bt_PrintCadres:= CreateButton(Self,450,230,150,'Draw frames',@Bt_PrintCadresClick,'stdimg.Imprimer'); +Bt_PrintCadres:= CreateButton(Self,450,230,150,'Draw frames',@Bt_PrintCadresClick,'repimg.Imprimer'); Bt_PrintCadres.Enabled:= False; -Bt_PrintColor:= CreateButton(Self,450,270,150,'Show colors',@Bt_PrintColorClick,'stdimg.Imprimer'); +Bt_PrintColor:= CreateButton(Self,450,270,150,'Show colors',@Bt_PrintColorClick,'repimg.Imprimer'); Bt_PrintColor.Enabled:= False; -Bt_PrintLines:= CreateButton(Self,450,310,150,'Draw lines',@Bt_PrintLinesClick,'stdimg.Imprimer'); +Bt_PrintLines:= CreateButton(Self,450,310,150,'Draw lines',@Bt_PrintLinesClick,'repimg.Imprimer'); Bt_PrintLines.Enabled:= False; -Bt_PrintGrid:= CreateButton(Self,450,350,150,'Show grid',@Bt_PrintGridClick,'stdimg.Imprimer'); +Bt_PrintGrid:= CreateButton(Self,450,350,150,'Show grid',@Bt_PrintGridClick,'repimg.Imprimer'); Bt_PrintGrid.Enabled:= False; -Bt_PrintGraph:= CreateButton(Self,450,390,150,'Show graph',@Bt_PrintGraphClick,'stdimg.Imprimer'); +Bt_PrintGraph:= CreateButton(Self,450,390,150,'Show graph',@Bt_PrintGraphClick,'repimg.Imprimer'); Bt_PrintGraph.Enabled:= False; -Bt_Fermer:= CreateButton(Self,450,450,150,'Fermer',@Bt_FermerClick,'stdimg.Fermer'); +Bt_Fermer:= CreateButton(Self,450,450,150,'Fermer',@Bt_FermerClick,'repimg.Fermer'); Bt_Fermer.BackgroundColor:= clTomato; Randomize; for Cpt:= 0 to 18 do diff --git a/extras/contributed/report_tool/reportengine/images/Adobe_pdf.bmp b/extras/contributed/report_tool/reportengine/images/Adobe_pdf.bmp Binary files differnew file mode 100644 index 00000000..88ae2e2b --- /dev/null +++ b/extras/contributed/report_tool/reportengine/images/Adobe_pdf.bmp diff --git a/extras/contributed/report_tool/reportengine/images/Debut.bmp b/extras/contributed/report_tool/reportengine/images/Debut.bmp Binary files differnew file mode 100755 index 00000000..ca0af4c5 --- /dev/null +++ b/extras/contributed/report_tool/reportengine/images/Debut.bmp diff --git a/extras/contributed/report_tool/reportengine/images/Fermer.bmp b/extras/contributed/report_tool/reportengine/images/Fermer.bmp Binary files differnew file mode 100755 index 00000000..74d19cfe --- /dev/null +++ b/extras/contributed/report_tool/reportengine/images/Fermer.bmp diff --git a/extras/contributed/report_tool/reportengine/images/Fin.bmp b/extras/contributed/report_tool/reportengine/images/Fin.bmp Binary files differnew file mode 100755 index 00000000..9191b7e1 --- /dev/null +++ b/extras/contributed/report_tool/reportengine/images/Fin.bmp diff --git a/extras/contributed/report_tool/reportengine/images/Imprimante.bmp b/extras/contributed/report_tool/reportengine/images/Imprimante.bmp Binary files differnew file mode 100755 index 00000000..2942e404 --- /dev/null +++ b/extras/contributed/report_tool/reportengine/images/Imprimante.bmp diff --git a/extras/contributed/report_tool/reportengine/images/Imprimer.bmp b/extras/contributed/report_tool/reportengine/images/Imprimer.bmp Binary files differnew file mode 100755 index 00000000..0ed9a7d3 --- /dev/null +++ b/extras/contributed/report_tool/reportengine/images/Imprimer.bmp diff --git a/extras/contributed/report_tool/reportengine/images/Precedent.bmp b/extras/contributed/report_tool/reportengine/images/Precedent.bmp Binary files differnew file mode 100755 index 00000000..c74e7b77 --- /dev/null +++ b/extras/contributed/report_tool/reportengine/images/Precedent.bmp diff --git a/extras/contributed/report_tool/reportengine/images/Preview.bmp b/extras/contributed/report_tool/reportengine/images/Preview.bmp Binary files differnew file mode 100644 index 00000000..20ae27db --- /dev/null +++ b/extras/contributed/report_tool/reportengine/images/Preview.bmp diff --git a/extras/contributed/report_tool/reportengine/images/Stop.bmp b/extras/contributed/report_tool/reportengine/images/Stop.bmp Binary files differnew file mode 100755 index 00000000..00471e77 --- /dev/null +++ b/extras/contributed/report_tool/reportengine/images/Stop.bmp diff --git a/extras/contributed/report_tool/reportengine/images/Suivant.bmp b/extras/contributed/report_tool/reportengine/images/Suivant.bmp Binary files differnew file mode 100755 index 00000000..393d2b8d --- /dev/null +++ b/extras/contributed/report_tool/reportengine/images/Suivant.bmp diff --git a/extras/contributed/report_tool/reportengine/impression.lpk b/extras/contributed/report_tool/reportengine/impression.lpk index 682ffe71..0cbaded3 100644 --- a/extras/contributed/report_tool/reportengine/impression.lpk +++ b/extras/contributed/report_tool/reportengine/impression.lpk @@ -29,7 +29,7 @@ </CompilerOptions> <Description Value="PDF reporting engine"/> <Version Minor="1"/> - <Files Count="4"> + <Files Count="5"> <Item1> <Filename Value="u_commande.pas"/> <UnitName Value="U_Commande"/> @@ -46,6 +46,10 @@ <Filename Value="u_visu.pas"/> <UnitName Value="U_Visu"/> </Item4> + <Item5> + <Filename Value="u_reportimages.pas"/> + <UnitName Value="U_ReportImages"/> + </Item5> </Files> <RequiredPkgs Count="2"> <Item1> diff --git a/extras/contributed/report_tool/reportengine/impression.pas b/extras/contributed/report_tool/reportengine/impression.pas index 76c36510..5ef47b47 100644 --- a/extras/contributed/report_tool/reportengine/impression.pas +++ b/extras/contributed/report_tool/reportengine/impression.pas @@ -7,7 +7,7 @@ unit impression; interface uses - U_Commande, U_Imprime, U_Pdf, U_Visu; + U_Commande, U_Imprime, U_Pdf, U_Visu, U_ReportImages; implementation diff --git a/extras/contributed/report_tool/reportengine/u_reportimages.pas b/extras/contributed/report_tool/reportengine/u_reportimages.pas new file mode 100644 index 00000000..af0433f4 --- /dev/null +++ b/extras/contributed/report_tool/reportengine/u_reportimages.pas @@ -0,0 +1,361 @@ +{ + << Impressions >> U_ReportImages.pas + + Copyright (C) 2010 - JM.Levecque - <jmarc.levecque@jmlesite.fr> + + This library is a free software coming as a add-on to fpGUI toolkit + See the copyright included in the fpGUI distribution for details about redistribution + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + Description: + This unit contains the images used by the preview dialog +} + +unit U_ReportImages; + +{$mode objfpc} + +interface + +uses + fpg_main; + +procedure CreateReportImages; + +implementation + +const + repimg_Fermer : Array[0..245] of byte = ( + 66, 77,246, 0, 0, 0, 0, 0, 0, 0,118, 0, 0, 0, 40, 0, 0, + 0, 16, 0, 0, 0, 16, 0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, + 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0,128, 0, 0,128, 0, 0, 0,128, + 128, 0,128, 0, 0, 0,128, 0,128, 0,128,128, 0, 0,192,192,192, + 0,128,128,128, 0, 0, 0,255, 0, 0,255, 0, 0, 0,255,255, 0, + 255, 0, 0, 0,255, 0,255, 0,255,255, 0, 0,255,255,255, 0, 51, + 0, 0, 0, 0, 0, 3, 51, 51, 1,187,187,187,187, 3, 51, 51, 1, + 27,187,187,187, 3, 51, 51, 1, 17,187,187,187, 3, 51, 51, 1, 17, + 11,187,187, 3, 51, 51, 1, 17, 11,187,187, 3, 51, 51, 1, 17, 11, + 187,187, 3, 51, 51, 1, 17, 11,187,187, 3, 51, 51, 1, 17, 11,187, + 187, 3, 51, 51, 1, 17, 11,187,187, 3, 51, 51, 1, 17,176,187,187, + 3, 51, 51, 1, 17, 11,187,187, 3, 51, 51, 1, 17, 11,187,187, 3, + 51, 51, 1,225, 11,187,187, 3, 51, 51, 1,238, 11,187,187, 3, 51, + 51, 0, 0, 0, 0, 0, 3, 51); + +const + repimg_Fin : Array[0..245] of byte = ( + 66, 77,246, 0, 0, 0, 0, 0, 0, 0,118, 0, 0, 0, 40, 0, 0, + 0, 16, 0, 0, 0, 16, 0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, + 128, 0, 0, 0, 18, 11, 0, 0, 18, 11, 0, 0, 0, 0, 0, 0, 16, + 0, 0, 0, 0, 0, 0, 0, 0, 0,128, 0, 0,128, 0, 0, 0,128, + 128, 0,128, 0, 0, 0,128, 0,128, 0,128,128, 0, 0,192,192,192, + 0,128,128,128, 0, 0, 0,255, 0, 0,255, 0, 0, 0,255,255, 0, + 255, 0, 0, 0,255, 0,255, 0,255,255, 0, 0,255,255,255, 0,119, + 119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119, + 119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,113, + 119,119,116, 71,119,119,119,113, 23,119,116, 71,119,119,119,113, 17, + 119,116, 71,119,119,119,113, 17, 23,116, 71,119,119,119,113, 17, 17, + 116, 71,119,119,119,113, 17, 23,116, 71,119,119,119,113, 17,119,116, + 71,119,119,119,113, 23,119,116, 71,119,119,119,113,119,119,116, 71, + 119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119, + 119,119,119,119,119,119,119,119); + +const + repimg_Imprimante : Array[0..357] of byte = ( + 66, 77,102, 1, 0, 0, 0, 0, 0, 0,118, 0, 0, 0, 40, 0, 0, + 0, 20, 0, 0, 0, 20, 0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, + 240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0,128, 0, 0,128, 0, 0, 0,128, + 128, 0,128, 0, 0, 0,128, 0,128, 0,128,128, 0, 0,192,192,192, + 0,128,128,128, 0, 0, 0,255, 0, 0,255, 0, 0, 0,255,255, 0, + 255, 0, 0, 0,255, 0,255, 0,255,255, 0, 0,255,255,255, 0, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 0, 0, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 0, 0, 51, 0, 3, 51, 51, 51, 51, 48, 0, 51, 0, + 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 48,247,119,119, + 119,119,119,119,119, 3, 0, 0, 48,247,119,119,119,119,119,119,119, + 3, 0, 0, 48,247,119,119,119,119,119,153,119, 3, 0, 0, 48,255, + 255,255,255,255,255,255,255, 3, 0, 0, 56, 0,136,136,136,136,136, + 136, 0,131, 0, 0, 51, 48, 0, 0, 0, 0, 0, 0, 3, 51, 0, 0, + 51, 48,136,136,136,136,136,136, 3, 51, 0, 0, 51, 48, 0, 0, 0, + 0, 0, 0, 3, 51, 0, 0, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 0, 0, 51, 51, 51, 51, 51, 51, 56, 0, 8, 51, 0, 0, 51, 51, 51, + 51, 51, 51, 48,239,224, 51, 0, 0, 51, 56, 0, 0, 0, 0, 14,240, + 8, 51, 0, 0, 51, 48,224,239,239,239, 63,224, 51, 51, 0, 0, 51, + 56, 0, 0, 0, 0, 14,240, 8, 51, 0, 0, 51, 51, 51, 51, 51, 51, + 48,239,224, 51, 0, 0, 51, 51, 51, 51, 51, 51, 56, 0, 8, 51, 0, + 0); + +const + repimg_Imprimer : Array[0..245] of byte = ( + 66, 77,246, 0, 0, 0, 0, 0, 0, 0,118, 0, 0, 0, 40, 0, 0, + 0, 16, 0, 0, 0, 16, 0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, + 128, 0, 0, 0, 18, 11, 0, 0, 18, 11, 0, 0, 16, 0, 0, 0, 16, + 0, 0, 0, 0, 0, 0, 0, 0, 0,128, 0, 0,128, 0, 0, 0,128, + 128, 0,128, 0, 0, 0,128, 0,128, 0,128,128, 0, 0,128,128,128, + 0,192,192,192, 0, 0, 0,255, 0,192,192,192, 0, 0,255,255, 0, + 255, 0, 0, 0,192,192,192, 0,255,255, 0, 0,255,255,255, 0,218, + 218,218,218,218,218,218,218,173, 0, 0, 0, 0, 0, 13,173,208,136, + 136,136,136,128,128,218, 0, 0, 0, 0, 0, 0, 8, 13, 8,136,136, + 139,187,136, 0, 10, 8,136,136,135,119,136, 8, 13, 0, 0, 0, 0, + 0, 0, 8,128, 8,136,136,136,136,128,128,128,208, 0, 0, 0, 0, + 8, 8, 0,173, 15,255,255,255,240,128,128,218,208,240, 0, 0,240, + 0, 10,173,160,255,255,255,255, 13,173,218,218, 15, 0, 0, 15, 10, + 218,173,173, 15,255,255,255,240,173,218,218,208, 0, 0, 0, 0,218, + 173,173,173,173,173,173,173,173); + +const + repimg_Precedent : Array[0..245] of byte = ( + 66, 77,246, 0, 0, 0, 0, 0, 0, 0,118, 0, 0, 0, 40, 0, 0, + 0, 16, 0, 0, 0, 16, 0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, + 128, 0, 0, 0, 18, 11, 0, 0, 18, 11, 0, 0, 16, 0, 0, 0, 16, + 0, 0, 0, 0, 0, 0, 0, 0, 0,128, 0, 0,128, 0, 0, 0,128, + 128, 0,128, 0, 0, 0,128, 0,128, 0,128,128, 0, 0,128,128,128, + 0,192,192,192, 0, 0, 0,255, 0,192,192,192, 0, 0,255,255, 0, + 255, 0, 0, 0,192,192,192, 0,255,255, 0, 0,255,255,255, 0,218, + 218,218,218,218,218,218,218,173,173,173,173,173,173,173,173,218,218, + 218,218,218,218,218,218,173,173,173,173,173,173,173,173,218,218,218, + 218,209,218,218,218,173,173,173,173, 17,173,173,173,218,218,218,209, + 17,218,218,218,173,173,173, 17, 17,173,173,173,218,218,209, 17, 17, + 218,218,218,173,173,173, 17, 17,173,173,173,218,218,218,209, 17,218, + 218,218,173,173,173,173, 17,173,173,173,218,218,218,218,209,218,218, + 218,173,173,173,173,173,173,173,173,218,218,218,218,218,218,218,218, + 173,173,173,173,173,173,173,173); + +const + repimg_Stop : Array[0..245] of byte = ( + 66, 77,246, 0, 0, 0, 0, 0, 0, 0,118, 0, 0, 0, 40, 0, 0, + 0, 16, 0, 0, 0, 16, 0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, + 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0,128, 0, 0,128, 0, 0, 0,128, + 128, 0,128, 0, 0, 0,128, 0,128, 0,128,128, 0, 0,192,192,192, + 0,128,128,128, 0, 0, 0,255, 0, 0,255, 0, 0, 0,255,255, 0, + 255, 0, 0, 0,255, 0,255, 0,255,255, 0, 0,255,255,255, 0, 51, + 35,153,153,153,153, 34, 35, 51, 41,153,153,153,153,147, 51, 50,153, + 153,153,153,153,153, 51, 41,153,153,153,153,153,153,147,153,255,153, + 249,159,153,249,153,159,153,249,249,249,249,249,153,153,153,249,249, + 249,249,249,153,153,159,153,249,249,249,255,153,153,249,153,249,249, + 249,249,249,159,153,153,249,249,249,249,249,159,153,249,249,249,249, + 249,249,153,255,159,255,159,153,255,153, 57,153,153,153,153,153,153, + 147, 51,153,153,153,153,153,153, 51, 51, 57,153,153,153,153,147, 51, + 51, 51,153,153,153,153, 51, 51); + +const + repimg_Suivant : Array[0..245] of byte = ( + 66, 77,246, 0, 0, 0, 0, 0, 0, 0,118, 0, 0, 0, 40, 0, 0, + 0, 16, 0, 0, 0, 16, 0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, + 128, 0, 0, 0, 18, 11, 0, 0, 18, 11, 0, 0, 16, 0, 0, 0, 16, + 0, 0, 0, 0, 0, 0, 0, 0, 0,128, 0, 0,128, 0, 0, 0,128, + 128, 0,128, 0, 0, 0,128, 0,128, 0,128,128, 0, 0,128,128,128, + 0,192,192,192, 0, 0, 0,255, 0,192,192,192, 0, 0,255,255, 0, + 255, 0, 0, 0,192,192,192, 0,255,255, 0, 0,255,255,255, 0,218, + 218,218,218,218,218,218,218,173,173,173,173,173,173,173,173,218,218, + 218,218,218,218,218,218,173,173,173,173,173,173,173,173,218,218,218, + 26,218,218,218,218,173,173,173, 17,173,173,173,173,218,218,218, 17, + 26,218,218,218,173,173,173, 17, 17,173,173,173,218,218,218, 17, 17, + 26,218,218,173,173,173, 17, 17,173,173,173,218,218,218, 17, 26,218, + 218,218,173,173,173, 17,173,173,173,173,218,218,218, 26,218,218,218, + 218,173,173,173,173,173,173,173,173,218,218,218,218,218,218,218,218, + 173,173,173,173,173,173,173,173); + +const + repimg_Debut : Array[0..245] of byte = ( + 66, 77,246, 0, 0, 0, 0, 0, 0, 0,118, 0, 0, 0, 40, 0, 0, + 0, 16, 0, 0, 0, 16, 0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, + 128, 0, 0, 0, 18, 11, 0, 0, 18, 11, 0, 0, 0, 0, 0, 0, 16, + 0, 0, 0, 0, 0, 0, 0, 0, 0,128, 0, 0,128, 0, 0, 0,128, + 128, 0,128, 0, 0, 0,128, 0,128, 0,128,128, 0, 0,192,192,192, + 0,128,128,128, 0, 0, 0,255, 0, 0,255, 0, 0, 0,255,255, 0, + 255, 0, 0, 0,255, 0,255, 0,255,255, 0, 0,255,255,255, 0,119, + 119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119, + 119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119, 68, + 119,119,113,119,119,119,119, 68,119,119, 17,119,119,119,119, 68,119, + 113, 17,119,119,119,119, 68,119, 17, 17,119,119,119,119, 68,113, 17, + 17,119,119,119,119, 68,119, 17, 17,119,119,119,119, 68,119,113, 17, + 119,119,119,119, 68,119,119, 17,119,119,119,119, 68,119,119,113,119, + 119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119, + 119,119,119,119,119,119,119,119); + +const + repimg_Adobe_pdf : Array[0..1253] of byte = ( + 66, 77,230, 4, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 40, 0, 0, + 0, 20, 0, 0, 0, 20, 0, 0, 0, 1, 0, 24, 0, 0, 0, 0, 0, + 176, 4, 0, 0, 19, 11, 0, 0, 19, 11, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0,255,255,255,255,255,255,255,255,255,255,255,255,226,226, + 226,148,148,148,152,152,152,152,152,152,152,152,152,152,152,152,152, + 152,152,152,152,152,152,152,152,152,152,152,152,152,152,152,152,152, + 152,152,152,146,146,146,208,208,208,253,253,253,255,255,255,255,255, + 255,255,255,255,255,255,255,204,204,204,245,245,245,247,247,244,246, + 246,244,244,244,244,245,245,245,210,210,209,212,212,212,200,201,200, + 208,208,208,210,210,209,202,202,202,209,210,209,221,222,221,210,210, + 210,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,212, + 212,212,254,254,255,205,205,255,226,226,255,255,255,255,255,255,255, + 141,142,139,136,138,135,127,128,125,136,138,135,137,139,136,130,131, + 128,130,131,129,145,146,143,194,194,194,253,253,253,255,255,255,255, + 255,255,255,255,255,255,255,255,211,211,211,247,247,255,135,135,254, + 144,144,254,229,229,254,255,255,255,173,174,172,151,153,151,157,159, + 157,175,176,174,193,194,193,131,133,130,190,190,189,188,188,187,200, + 201,200,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255, + 211,211,211,253,253,254,221,221,253,138,138,253,155,155,253,249,249, + 253,238,238,238,225,225,224,226,227,226,237,237,237,252,252,252,207, + 207,206,255,255,253,253,253,252,222,222,221,253,253,253,255,255,255, + 255,255,255,255,255,255,255,255,255,210,210,210,253,253,253,254,254, + 252,254,254,251,133,133,252,197,197,252,249,249,253,247,247,253,249, + 249,253,250,250,253,244,244,252,231,231,254,197,196,251,217,214,249, + 213,212,220,253,253,253,255,255,255,255,255,255,255,255,255,255,255, + 255,209,209,209,251,251,251,250,250,250,252,252,250,248,248,250, 96, + 96,252,188,188,251,175,175,251,166,166,251,164,164,252, 99, 99,252, + 122,122,252,180,180,251,228,228,252,224,224,220,253,253,253,255,255, + 255,255,255,255,255,255,255,255,255,255,209,209,209,250,250,250,249, + 249,249,249,249,249,255,255,249,172,172,250,181,181,250,243,243,249, + 131,131,251,162,162,250,192,192,250,195,195,250,201,201,250,243,243, + 250,221,221,220,253,253,253,255,255,255,255,255,255,255,255,255,255, + 255,255,208,208,208,248,248,248,247,247,247,247,247,247,247,247,247, + 249,249,247,102,102,251,161,161,249,185,185,248,252,252,247,251,251, + 247,251,251,247,250,250,247,249,249,249,219,219,219,253,253,253,255, + 255,255,255,255,255,255,255,255,255,255,255,207,207,207,246,246,246, + 245,245,245,245,245,245,245,245,245,247,247,245,184,184,247, 87, 87, + 251,254,254,244,245,245,245,245,245,245,245,245,245,245,245,245,244, + 244,244,214,214,214,253,253,253,255,255,255,255,255,255,255,255,255, + 255,255,255,206,206,206,245,245,245,244,244,244,244,244,244,244,244, + 244,247,247,244,176,176,246,125,125,248,253,253,244,244,244,244,244, + 244,244,243,243,243,240,240,240,238,238,238,209,209,209,252,252,252, + 255,255,255,255,255,255,255,255,255,255,255,255,205,205,205,243,243, + 243,242,242,242,242,242,242,242,242,242,247,247,242,118,118,248,191, + 191,244,246,246,242,242,242,242,240,240,240,237,237,237,233,233,233, + 231,231,231,204,204,204,252,252,252,255,255,255,255,255,255,255,255, + 255,255,255,255,216,216,210,249,249,245,248,248,245,248,248,245,248, + 248,245,254,254,245, 96, 96,254,238,238,245,250,250,244,242,242,241, + 234,234,234,230,230,230,227,227,227,223,223,223,196,196,196,252,252, + 252,202,202,222,114,114,167,122,122,170,122,122,170, 78, 78,130,145, + 145,177,138,138,173,139,139,172,140,140,171,146,146,172, 68, 68,176, + 111,111,174,142,142,169,183,183,199,226,226,227,223,223,223,216,216, + 216,206,206,206,190,190,190,252,252,252,127,127,195, 0, 0,156, 0, + 0,164, 11, 11,168, 44, 44,178, 6, 6,167, 69, 69,184, 53, 53,177, + 50, 50,174, 13, 13,158, 3, 3,151, 3, 3,146, 0, 0,132,109,109, + 162,204,204,205,181,181,181,166,166,166,162,162,162,224,224,224,254, + 254,254,127,127,209, 0, 0,199, 4, 4,206, 36, 36,212,152,152,234, + 28, 28,209,134,134,230,129,129,229,184,184,238, 41, 41,198, 0, 0, + 183, 0, 0,175, 0, 0,159,100,100,165,180,180,181,185,185,185,189, + 189,189,219,219,219,254,254,254,255,255,255,138,138,225, 28, 28,227, + 37, 37,232, 60, 60,234,187,187,247,196,196,248,129,129,238,129,129, + 236,175,175,242,168,168,241, 5, 5,204, 0, 0,195, 0, 0,177, 92, + 92,166,185,185,187,244,244,244,224,224,224,252,252,252,255,255,255, + 254,254,254,143,143,237, 42, 42,240, 52, 52,244, 59, 59,242,118,118, + 244,101,101,240, 91, 91,235, 86, 86,230, 81, 81,226, 80, 80,221, 2, + 2,202, 0, 0,192, 0, 0,177, 80, 80,162,187,187,190,229,229,229, + 251,251,251,255,255,255,254,254,254,255,255,255,221,221,249,184,184, + 248,187,187,250,188,188,250,121,121,213,158,158,224,155,155,220,153, + 153,218,147,147,213,142,142,207,141,141,201,135,135,195,126,126,184, + 148,148,176,227,227,228,253,253,253,255,255,255,254,254,254,255,255, + 255,255,255,255,254,254,254,254,254,254,254,254,254,254,254,255,248, + 248,249,243,243,244,243,243,244,243,243,243,242,242,243,241,241,242, + 239,239,239,237,237,238,235,235,236,245,245,245,254,254,254,255,255, + 255,254,254,254,255,255,255,255,255,255,255,255,255); + +const + repimg_Preview : Array[0..1253] of byte = ( + 66, 77,230, 4, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 40, 0, 0, + 0, 20, 0, 0, 0, 20, 0, 0, 0, 1, 0, 24, 0, 0, 0, 0, 0, + 176, 4, 0, 0, 19, 11, 0, 0, 19, 11, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0,255,255,255,255,255,255,255,255,255,160,160,160,160,160, + 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160, + 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160, + 160,160,160,160,160,160,160,160,160,255,255,255,255,255,255,255,255, + 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,100,100,100,160,160, + 160,255,255,255,255,255,255, 0, 0, 0, 0, 0, 0,100,100,100,100, + 100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100, + 100,100,100, 0, 0, 0,150,150,150,200,200,200,200,200,200,200,200, + 200,200,200,200,100,100,100,160,160,160,255,255,255,255,255,255, 0, + 0, 0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,200,200,200,100,100, + 100,150,150,150,200,200,200,200,200,200,200,200,200,100,100,100,160, + 160,160,255,255,255,255,255,255, 0, 0, 0,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,200,200,200,255,255,255,100,100,100,150,150,150,200, + 200,200,200,200,200,100,100,100,160,160,160,255,255,255,255,255,255, + 0, 0, 0,255,255,255,255,255,255,220,220,220,220,220,220,220,220, + 220,220,220,220,220,220,220,220,220,220,220,220,220,200,200,200,255, + 255,255,255,255,255,100,100,100,150,150,150,200,200,200,100,100,100, + 160,160,160,255,255,255,255,255,255, 0, 0, 0,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,200,200,200,255,255,255,255,255,255,255,255,255, + 100,100,100,150,150,150,100,100,100,160,160,160,255,255,255,255,255, + 255, 0, 0, 0,255,255,255,255,255,255,200,200,200,200,200,200,200, + 200,200,200,200,200,200,200,200,200,200,200,200,200,200,100,100,100, + 100,100,100,100,100,100,100,100,100,100,100,100, 0, 0, 0,100,100, + 100,160,160,160,255,255,255,255,255,255, 0, 0, 0,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,200,200,200,100,100,100,160,160,160,255,255,255,255, + 255,255, 0, 0, 0,255,255,255,255,255,255,160,160,160,160,160,160, + 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160, + 160,160,160,160,160,160,160,160,160,160,255,255,255,200,200,200,100, + 100,100,160,160,160,255,255,255,255,255,255, 0, 0, 0,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,200,200,200,100,100,100,160,160,160,255,255,255, + 255,255,255, 0, 0, 0,255,255,255,255,255,255,160,160,160,160,160, + 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160, + 160,160,160,160,160,160,160,160,160,160,160,255,255,255,200,200,200, + 100,100,100,160,160,160,255,255,255,255,255,255, 0, 0, 0,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,200,200,200,100,100,100,160,160,160,255,255, + 255,255,255,255, 0, 0, 0,255,255,255,255,255,255,160,160,160,160, + 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160, + 160,160,160,160,160,160,160,160,160,160,160,160,255,255,255,200,200, + 200,100,100,100,160,160,160,255,255,255,255,255,255, 0, 0, 0,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,200,200,200,100,100,100,160,160,160,255, + 255,255,255,255,255, 0, 0, 0,255,255,255,255,255,255,160,160,160, + 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160, + 160,160,160,160,160,160,160,160,160,160,160,160,160,255,255,255,200, + 200,200,100,100,100,160,160,160,255,255,255,255,255,255, 0, 0, 0, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,200,200,200,100,100,100,160,160,160, + 255,255,255,255,255,255, 0, 0, 0,255,255,255,255,255,255,160,160, + 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160, + 160,160,160,160,160,160,160,160,160,160,160,160,160,160,255,255,255, + 200,200,200,100,100,100,160,160,160,255,255,255,255,255,255, 0, 0, + 0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,200,200,200,100,100,100,255,255, + 255,255,255,255,255,255,255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0,255,255,255,255,255,255,255,255,255); + +procedure CreateReportImages; +begin + + fpgImages.AddMaskedBMP('repimg.Fermer',@repimg_Fermer,sizeof(repimg_Fermer),0,0); + + fpgImages.AddMaskedBMP('repimg.Fin',@repimg_Fin,sizeof(repimg_Fin),0,0); + + fpgImages.AddMaskedBMP('repimg.Imprimante',@repimg_Imprimante,sizeof(repimg_Imprimante),0,0); + + fpgImages.AddMaskedBMP('repimg.Imprimer',@repimg_Imprimer,sizeof(repimg_Imprimer),0,0); + + fpgImages.AddMaskedBMP('repimg.Precedent',@repimg_Precedent,sizeof(repimg_Precedent),0,0); + + fpgImages.AddMaskedBMP('repimg.Stop',@repimg_Stop,sizeof(repimg_Stop),0,0); + + fpgImages.AddMaskedBMP('repimg.Suivant',@repimg_Suivant,sizeof(repimg_Suivant),0,0); + + fpgImages.AddMaskedBMP('repimg.Debut',@repimg_Debut,sizeof(repimg_Debut),0,0); + + fpgImages.AddMaskedBMP('repimg.Adobe_pdf',@repimg_Adobe_pdf,sizeof(repimg_Adobe_pdf),0,0); + + fpgImages.AddMaskedBMP('repimg.Preview',@repimg_Preview,sizeof(repimg_Preview),0,0); + +end; + +end. + diff --git a/extras/contributed/report_tool/reportengine/u_visu.pas b/extras/contributed/report_tool/reportengine/u_visu.pas index d95d836a..19aae6ab 100644 --- a/extras/contributed/report_tool/reportengine/u_visu.pas +++ b/extras/contributed/report_tool/reportengine/u_visu.pas @@ -21,7 +21,7 @@ unit U_Visu; interface uses - Classes, SysUtils, Process, + Classes, SysUtils, {$ifdef win32} shellapi, {$endif} @@ -89,7 +89,7 @@ var implementation uses - U_Imprime, U_Commande, U_Pdf; + U_Imprime, U_Commande, U_Pdf, U_ReportImages; procedure TF_Visu.FormShow(Sender: TObject); begin @@ -493,38 +493,39 @@ WindowPosition:= wpUser; SetPosition(0, 0, FpgApplication.ScreenWidth-2, FpgApplication.ScreenHeight-66); Sizeable:= False; BackgroundColor:= clMediumAquamarine; +CreateReportImages; Bv_Commande:= CreateBevel(Self,0,0,Width,50,bsBox,bsRaised); Bv_Commande.BackgroundColor:= clBisque; Bt_Fermer:= CreateButton(Bv_Commande,10,10,26,'',@Bt_FermerClick); Bt_Fermer.BackgroundColor:= clOrangeRed; -Bt_Fermer.ImageName:= 'stdimg.Fermer'; +Bt_Fermer.ImageName:= 'repimg.Fermer'; Bt_Imprimer:= CreateButton(Bv_Commande,50,10,26,'',@Bt_ImprimerClick); Bt_Imprimer.BackgroundColor:= clGreen; -Bt_Imprimer.ImageName:= 'stdimg.Imprimer'; +Bt_Imprimer.ImageName:= 'repimg.Imprimer'; Bt_Imprimer.Enabled:= False; Bt_Imprimante:= CreateButton(Bv_Commande,90,10,26,'',@Bt_ImprimanteClick); Bt_Imprimante.BackgroundColor:= clSilver; -Bt_Imprimante.ImageName:= 'stdimg.Imprimante'; +Bt_Imprimante.ImageName:= 'repimg.Imprimante'; Bt_Imprimante.Enabled:= False; Bt_Arreter:= CreateButton(Bv_Commande,130,10,26,'',@Bt_ArreterClick); Bt_Arreter.BackgroundColor:= clRed; -Bt_Arreter.ImageName:= 'stdimg.Stop'; +Bt_Arreter.ImageName:= 'repimg.Stop'; Bt_Pdf:= CreateButton(Bv_Commande,170,10,26,'',@Bt_PdfClick); Bt_Pdf.BackgroundColor:= clWhite; Bt_Pdf.ImageMargin:= 0; -Bt_Pdf.ImageName:= 'stdimg.Adobe_pdf'; +Bt_Pdf.ImageName:= 'repimg.Adobe_pdf'; Bv_Pages:= CreateBevel(Bv_Commande,220,5,300,40,bsBox,bsLowered); Bv_Pages.BackgroundColor:= clLinen; Bt_PremPage:= CreateButton(Bv_Pages,54,6,26,'',@Bt_PremPageClick); -Bt_PremPage.ImageName:= 'stdimg.Debut'; +Bt_PremPage.ImageName:= 'repimg.Debut'; Bt_PrecPage:= CreateButton(Bv_Pages,80,6,26,'',@Bt_PrecPageClick); -Bt_PrecPage.ImageName:= 'stdimg.Precedent'; +Bt_PrecPage.ImageName:= 'repimg.Precedent'; E_NumPage:= CreateEditInteger(Bv_Pages,110,8,60,0); E_NumPage.OnKeyPress:= @E_NumPageKeypress; Bt_Suivpage:= CreateButton(Bv_Pages,174,6,26,'',@Bt_SuivPageClick); -Bt_SuivPage.ImageName:= 'stdimg.Suivant'; +Bt_SuivPage.ImageName:= 'repimg.Suivant'; Bt_DernPage:= CreateButton(Bv_Pages,200,6,26,'',@Bt_DernPageClick); -Bt_DernPage.ImageName:= 'stdimg.Fin'; +Bt_DernPage.ImageName:= 'repimg.Fin'; L_Pages:= CreateLabel(Bv_Pages,5,E_NumPage.Top,'Page',0,E_NumPage.Height,taLeftJustify,tlcenter); L_Depage:= CreateLabel(Bv_Pages,235,E_NumPage.Top,'de',0,E_NumPage.Height,taLeftJustify,tlcenter); L_NbrPages:= CreateLabel(Bv_Pages,265,E_NumPage.Top,' ',30,E_NumPage.Height,taCenter,tlcenter); @@ -533,11 +534,11 @@ Bv_Sections.BackgroundColor:= clLinen; //Bt_PremSect:= CreateButton(Bv_Sections,64,6,26,'',@Bt_PremSectClick); //Bt_PremSect.ImageName:= 'stdimg.Debut'; Bt_PrecSect:= CreateButton(Bv_Sections,90,6,26,'',@Bt_PrecSectClick); -Bt_PrecSect.ImageName:= 'stdimg.Precedent'; +Bt_PrecSect.ImageName:= 'repimg.Precedent'; E_NumSect:= CreateEditInteger(Bv_Sections,120,8,60,0); E_NumSect.OnKeyPress:= @E_NumSectKeyPress; Bt_SuivSect:= CreateButton(Bv_Sections,184,6,26,'',@Bt_SuivSectClick); -Bt_SuivSect.ImageName:= 'stdimg.Suivant'; +Bt_SuivSect.ImageName:= 'repimg.Suivant'; //Bt_DernSect:= CreateButton(Bv_Sections,210,6,26,'',@Bt_DernSectClick); //Bt_DernSect.ImageName:= 'stdimg.Fin'; L_Sections:= CreateLabel(Bv_Sections,5,E_NumSect.Top,'Section',0,E_NumSect.Height,taLeftJustify,tlcenter); |