From aad5b6502df28c935a7b2c3f1a52e56542120a73 Mon Sep 17 00:00:00 2001 From: vincents Date: Fri, 2 Feb 2007 14:50:20 +0000 Subject: [PATCH] examples: fixed out of the box compilation by adding a global package links git-svn-id: trunk@10570 - --- .gitattributes | 2 ++ examples/anchordocking/dockform2unit.lrs | 13 +++++++++++++ examples/designerbaseclass/customcomponentclass.pas | 2 +- packager/globallinks/designbaseclassdemopkg-0.lpl | 1 + test/runtests.lpi | 7 +++++++ 5 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 examples/anchordocking/dockform2unit.lrs create mode 100644 packager/globallinks/designbaseclassdemopkg-0.lpl diff --git a/.gitattributes b/.gitattributes index b50a5ae478..3b34703e2c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1017,6 +1017,7 @@ examples/anchordocking/dockform1unit.lfm svneol=native#text/plain examples/anchordocking/dockform1unit.lrs svneol=native#text/plain examples/anchordocking/dockform1unit.pas svneol=native#text/plain examples/anchordocking/dockform2unit.lfm svneol=native#text/plain +examples/anchordocking/dockform2unit.lrs svneol=native#text/plain examples/anchordocking/dockform2unit.pas svneol=native#text/plain examples/anchordocking/docking1.lpi svneol=native#text/plain examples/anchordocking/docking1.lpr svneol=native#text/plain @@ -2785,6 +2786,7 @@ packager/basepkgmanager.pas svneol=native#text/pascal packager/brokendependenciesdlg.pas svneol=native#text/pascal packager/globallinks/README.txt svneol=native#text/plain packager/globallinks/demopackagewithhelp-0.lpl svneol=native#text/plain +packager/globallinks/designbaseclassdemopkg-0.lpl svneol=native#text/plain packager/globallinks/fpcunitconsolerunner-1.lpl svneol=native#text/plain packager/globallinks/h2paswizard-0.lpl svneol=native#text/plain packager/globallinks/lazcustomform-0.lpl svneol=native#text/plain diff --git a/examples/anchordocking/dockform2unit.lrs b/examples/anchordocking/dockform2unit.lrs new file mode 100644 index 0000000000..a04bd07bca --- /dev/null +++ b/examples/anchordocking/dockform2unit.lrs @@ -0,0 +1,13 @@ +LazarusResources.Add('TDockFormX','FORMDATA',[ + 'TPF0'#10'TDockFormX'#9'DockFormX'#4'Left'#3#234#1#6'Height'#2''#3'Top'#3#215 + +#0#5'Width'#3#224#0#18'HorzScrollBar.Page'#3#223#0#18'VertScrollBar.Page'#2 + +'~'#13'ActiveControl'#7#7'Button1'#7'Caption'#6#9'DockFormX'#28'ChildSizing.' + +'LeftRightSpacing'#2#1#28'ChildSizing.TopBottomSpacing'#2#1#8'OnCreate'#7#10 + +'FormCreate'#7'OnPaint'#7#9'FormPaint'#9'PopupMenu'#7#10'PopupMenu1'#0#7'TBu' + +'tton'#7'Button1'#4'Left'#2#24#6'Height'#2#25#3'Top'#2'0'#5'Width'#2'K'#25'B' + +'orderSpacing.InnerBorder'#2#4#7'Caption'#6#7'Button1'#8'TabOrder'#2#0#0#0#9 + +'TGroupBox'#9'GroupBox1'#4'Left'#2'v'#6'Height'#2'}'#3'Top'#2#1#5'Width'#2'i' + +#5'Align'#7#7'alRight'#7'Caption'#6#9'GroupBox1'#8'TabOrder'#2#1#0#0#10'TPop' + +'upMenu'#10'PopupMenu1'#4'left'#2'V'#3'top'#2'4'#0#9'TMenuItem'#12'HideMenuI' + +'tem'#7'Caption'#6#4'Hide'#7'OnClick'#7#17'HideMenuItemClick'#0#0#0#0 +]); diff --git a/examples/designerbaseclass/customcomponentclass.pas b/examples/designerbaseclass/customcomponentclass.pas index 788ea64add..5c014ae4fa 100644 --- a/examples/designerbaseclass/customcomponentclass.pas +++ b/examples/designerbaseclass/customcomponentclass.pas @@ -15,7 +15,7 @@ Author: Mattias Gaertner Abtract: - Registers a new designer base class (like TForm or TDataModul) in the IDE. + Registers a new designer base class (like TForm or TDataModule) in the IDE. } unit CustomComponentClass; diff --git a/packager/globallinks/designbaseclassdemopkg-0.lpl b/packager/globallinks/designbaseclassdemopkg-0.lpl new file mode 100644 index 0000000000..1105450734 --- /dev/null +++ b/packager/globallinks/designbaseclassdemopkg-0.lpl @@ -0,0 +1 @@ +$(LazarusDir)/examples/designerbaseclass/designbaseclassdemopkg.lpk diff --git a/test/runtests.lpi b/test/runtests.lpi index e2b4342244..76b6dfaf0e 100644 --- a/test/runtests.lpi +++ b/test/runtests.lpi @@ -61,6 +61,13 @@ + + + + + + +