From e669da237fc5a1268f47d2e754793727616800ce Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 15 Jan 2010 03:06:05 +0000 Subject: [PATCH] tpipro: convert forms to use fpc resources git-svn-id: trunk@23463 - --- .gitattributes | 1 - components/turbopower_ipro/iphtmlpv.lrs | 44 ------------------------- components/turbopower_ipro/iphtmlpv.pas | 8 ++--- 3 files changed, 2 insertions(+), 51 deletions(-) delete mode 100644 components/turbopower_ipro/iphtmlpv.lrs diff --git a/.gitattributes b/.gitattributes index 9238982d01..5376655959 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2167,7 +2167,6 @@ components/turbopower_ipro/ipfilebroker.pas svneol=native#text/plain components/turbopower_ipro/iphtml.lrs svneol=native#text/pascal components/turbopower_ipro/iphtml.pas svneol=native#text/pascal components/turbopower_ipro/iphtmlpv.lfm svneol=native#text/plain -components/turbopower_ipro/iphtmlpv.lrs svneol=native#text/pascal components/turbopower_ipro/iphtmlpv.pas svneol=native#text/pascal components/turbopower_ipro/ipmsg.pas svneol=native#text/pascal components/turbopower_ipro/ipstrms.pas svneol=native#text/pascal diff --git a/components/turbopower_ipro/iphtmlpv.lrs b/components/turbopower_ipro/iphtmlpv.lrs deleted file mode 100644 index 993e995f7d..0000000000 --- a/components/turbopower_ipro/iphtmlpv.lrs +++ /dev/null @@ -1,44 +0,0 @@ -{ This is an automatically generated lazarus resource file } - -LazarusResources.Add('TIpHTMLPreview','FORMDATA',[ - 'TPF0'#14'TIpHTMLPreview'#13'IpHTMLPreview'#4'Left'#3#196#0#6'Height'#3'R'#1#3 - +'Top'#2'g'#5'Width'#3'.'#2#13'ActiveControl'#7#8'btnPrint'#7'Caption'#6#13'P' - +'rint preview'#12'ClientHeight'#3'R'#1#11'ClientWidth'#3'.'#2#11'Font.Height' - +#2#245#9'Font.Name'#6#13'MS Sans Serif'#8'OnCreate'#7#10'FormCreate'#9'OnDes' - +'troy'#7#11'FormDestroy'#8'OnResize'#7#10'FormResize'#6'OnShow'#7#8'FormShow' - +#8'Position'#7#14'poScreenCenter'#10'LCLVersion'#6#6'0.9.25'#0#6'TPanel'#6'P' - +'anel1'#6'Height'#2')'#5'Width'#3'.'#2#5'Align'#7#5'alTop'#10'BevelOuter'#7#9 - +'bvLowered'#12'ClientHeight'#2')'#11'ClientWidth'#3'.'#2#8'TabOrder'#2#0#0#6 - +'TLabel'#6'Label1'#4'Left'#3'h'#1#6'Height'#2#14#3'Top'#2#14#5'Width'#2#29#7 - +'Caption'#6#5'Page:'#11'ParentColor'#8#0#0#6'TLabel'#6'Label2'#4'Left'#3#184 - +#1#6'Height'#2#14#3'Top'#2#14#5'Width'#2#10#7'Caption'#6#2'of'#11'ParentColo' - +'r'#8#0#0#6'TLabel'#10'lblMaxPage'#4'Left'#3#201#1#6'Height'#2#14#3'Top'#2#14 - +#5'Width'#2#4#11'ParentColor'#8#0#0#6'TLabel'#6'Label3'#4'Left'#2'`'#6'Heigh' - +'t'#2#14#3'Top'#2#16#5'Width'#2#31#7'Caption'#6#5'Zoom:'#11'ParentColor'#8#0 - +#0#7'TButton'#8'btnPrint'#4'Left'#2#8#6'Height'#2#25#3'Top'#2#8#5'Width'#2'K' - +#7'Caption'#6#5'Print'#7'Default'#9#7'OnClick'#7#13'btnPrintClick'#8'TabOrde' - +'r'#2#0#0#0#7'TButton'#8'btnFirst'#4'Left'#3#24#1#6'Height'#2#25#3'Top'#2#8#5 - +'Width'#2' '#7'Caption'#6#2'<<'#7'OnClick'#7#13'btnFirstClick'#8'TabOrder'#2 - +#1#0#0#7'TButton'#7'btnPrev'#4'Left'#3'@'#1#6'Height'#2#25#3'Top'#2#8#5'Widt' - +'h'#2' '#7'Caption'#6#1'<'#7'OnClick'#7#12'btnPrevClick'#8'TabOrder'#2#2#0#0 - +#7'TButton'#7'btnNext'#4'Left'#3#216#1#6'Height'#2#25#3'Top'#2#8#5'Width'#2 - +' '#7'Caption'#6#1'>'#7'OnClick'#7#12'btnNextClick'#8'TabOrder'#2#4#0#0#7'TB' - +'utton'#7'btnLast'#4'Left'#3#0#2#6'Height'#2#25#3'Top'#2#8#5'Width'#2' '#7'C' - +'aption'#6#2'>>'#7'OnClick'#7#12'btnLastClick'#8'TabOrder'#2#5#0#0#7'TButton' - +#8'btnClose'#4'Left'#3#200#0#6'Height'#2#25#3'Top'#2#8#5'Width'#2'K'#6'Cance' - +'l'#9#7'Caption'#6#5'Close'#11'ModalResult'#2#2#8'TabOrder'#2#6#0#0#5'TEdit' - +#7'edtPage'#4'Left'#3#144#1#6'Height'#2#21#3'Top'#2#10#5'Width'#2' '#8'OnCha' - +'nge'#7#13'edtPageChange'#8'TabOrder'#2#3#4'Text'#6#1'1'#0#0#9'TComboBox'#9 - +'ZoomCombo'#4'Left'#3#132#0#6'Height'#2#21#3'Top'#2#10#5'Width'#2'='#16'Auto' - +'CompleteText'#11#22'cbactEndOfLineComplete'#20'cbactSearchAscending'#0#10'I' - +'temHeight'#2#13#13'Items.Strings'#1#6#3'10%'#6#3'25%'#6#3'50%'#6#3'75%'#6#4 - +'100%'#6#4'150%'#6#4'200%'#6#4'300%'#6#4'400%'#0#9'MaxLength'#2#0#8'OnChange' - +#7#15'ZoomComboChange'#5'Style'#7#14'csDropDownList'#8'TabOrder'#2#7#0#0#0#10 - +'TScrollBox'#10'ScrollBox1'#6'Height'#3')'#1#3'Top'#2')'#5'Width'#3'.'#2#5'A' - +'lign'#7#8'alClient'#5'Color'#7#9'clBtnFace'#11'ParentColor'#8#8'TabOrder'#2 - +#1#0#6'TPanel'#10'PaperPanel'#4'Left'#2#16#6'Height'#3#153#0#3'Top'#2#8#5'Wi' - +'dth'#3#185#0#10'BevelOuter'#7#6'bvNone'#12'ClientHeight'#3#153#0#11'ClientW' - +'idth'#3#185#0#5'Color'#7#7'clWhite'#11'ParentColor'#8#8'TabOrder'#2#0#0#9'T' - +'PaintBox'#9'PaintBox1'#4'Left'#2#16#6'Height'#2'q'#3'Top'#2#24#5'Width'#3 - +#145#0#7'OnPaint'#7#14'PaintBox1Paint'#0#0#0#0#0 -]); diff --git a/components/turbopower_ipro/iphtmlpv.pas b/components/turbopower_ipro/iphtmlpv.pas index 92711f146a..d4caac5eb2 100644 --- a/components/turbopower_ipro/iphtmlpv.pas +++ b/components/turbopower_ipro/iphtmlpv.pas @@ -40,7 +40,6 @@ uses GraphType, LCLIntf, Buttons, - LResources, {$ELSE} Windows, {$ENDIF} @@ -108,6 +107,8 @@ uses {$IFNDEF IP_LAZARUS} {$R *.DFM} +{$ELSE} +{$R *.LFM} {$ENDIF} const @@ -337,9 +338,4 @@ begin SetZoom(Zoom); {force recalc of preview sizes} end; -{$IFDEF IP_LAZARUS} -initialization - {$I iphtmlpv.lrs} -{$ENDIF} - end.