Skip to content

Commit 543fcea

Browse files
author
Joachim Marder
committed
Adapted project to V2.0 (issue #1)
1 parent e4bbbca commit 543fcea

File tree

8 files changed

+3
-133
lines changed

8 files changed

+3
-133
lines changed

Samples/Medium Level/01 Simple Ribbon/FMain.dfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ object FormMain: TFormMain
1818
Top = 0
1919
Width = 635
2020
Height = 117
21-
ResourceName = 'SIMPLERIBBON'
21+
ResourceName = 'APPLICATION'
2222
end
2323
end

Samples/Medium Level/01 Simple Ribbon/FMain.pas

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ interface
99
type
1010
TFormMain = class(TForm)
1111
Ribbon: TUIRibbon;
12-
private
13-
{ Private declarations }
14-
public
1512
end;
1613

1714
var
@@ -21,6 +18,4 @@ implementation
2118

2219
{$R *.dfm}
2320

24-
{ TFormMain }
25-
2621
end.
-1.89 KB
Binary file not shown.

Samples/Medium Level/01 Simple Ribbon/Ribbon/SimpleRibbonUI.h

Lines changed: 0 additions & 48 deletions
This file was deleted.

Samples/Medium Level/01 Simple Ribbon/Ribbon/SimpleRibbonUI.rc

Lines changed: 0 additions & 72 deletions
This file was deleted.

Samples/Medium Level/01 Simple Ribbon/SimpleRibbon.dpr

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
program SimpleRibbon;
22

3-
{$R 'SimpleRibbonUI.res' 'Ribbon\SimpleRibbonUI.rc'}
4-
53
uses
64
Forms,
75
FMain in 'FMain.pas' {FormMain},
@@ -11,7 +9,8 @@ uses
119
UIRibbonApi in '..\..\..\Lib\UIRibbonApi.pas',
1210
UIRibbonCommands in '..\..\..\Lib\UIRibbonCommands.pas',
1311
WinApiEx in '..\..\..\Lib\WinApiEx.pas',
14-
UIRibbonActions in '..\..\..\Lib\UIRibbonActions.pas';
12+
UIRibbonActions in '..\..\..\Lib\UIRibbonActions.pas',
13+
SimpleRibbonUI in 'Ribbon\SimpleRibbonUI.pas';
1514

1615
{$R *.res}
1716

Samples/Medium Level/01 Simple Ribbon/SimpleRibbon.dproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
5656
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
5757
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
58-
5958
</PropertyGroup>
6059
<PropertyGroup Condition="'$(Cfg_2)'!=''">
6160
<BRCC_CompilerToUse>rc</BRCC_CompilerToUse>
@@ -66,9 +65,6 @@
6665
<DelphiCompile Include="$(MainSource)">
6766
<MainSource>MainSource</MainSource>
6867
</DelphiCompile>
69-
<RcCompile Include="Ribbon\SimpleRibbonUI.rc">
70-
<Form>SimpleRibbonUI.res</Form>
71-
</RcCompile>
7268
<DCCReference Include="FMain.pas">
7369
<Form>FormMain</Form>
7470
</DCCReference>
-4 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)