-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e259e6e
commit f4c3bcd
Showing
36 changed files
with
5,640 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
object Form3: TForm3 | ||
Left = 886 | ||
Top = 420 | ||
BorderStyle = bsDialog | ||
Caption = 'High Scores' | ||
ClientHeight = 277 | ||
ClientWidth = 405 | ||
Color = clBtnFace | ||
Font.Charset = DEFAULT_CHARSET | ||
Font.Color = clWindowText | ||
Font.Height = -13 | ||
Font.Name = 'MS Sans Serif' | ||
Font.Style = [] | ||
OldCreateOrder = False | ||
Scaled = False | ||
OnShow = FormShow | ||
PixelsPerInch = 120 | ||
TextHeight = 16 | ||
object strngrdHS: TStringGrid | ||
Left = 0 | ||
Top = 0 | ||
Width = 537 | ||
Height = 385 | ||
ColCount = 4 | ||
RowCount = 11 | ||
Font.Charset = DEFAULT_CHARSET | ||
Font.Color = clNavy | ||
Font.Height = -18 | ||
Font.Name = 'MS Sans Serif' | ||
Font.Style = [] | ||
ParentFont = False | ||
TabOrder = 0 | ||
ColWidths = ( | ||
34 | ||
206 | ||
80 | ||
79) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
unit HIGHSCORES; | ||
|
||
interface | ||
|
||
uses | ||
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, | ||
Dialogs, Grids, JEWEL; | ||
|
||
type | ||
TForm3 = class(TForm) | ||
strngrdHS: TStringGrid; | ||
procedure FormShow(Sender: TObject); | ||
private | ||
{ Private declarations } | ||
public | ||
{ Public declarations } | ||
end; | ||
|
||
var | ||
Form3: TForm3; | ||
|
||
implementation | ||
|
||
{$R *.dfm} | ||
|
||
procedure TForm3.FormShow(Sender: TObject); | ||
var | ||
I: Integer; | ||
begin | ||
strngrdHS.Cells[1, 0] := 'Name'; | ||
strngrdHS.Cells[2, 0] := 'Jewels'; | ||
strngrdHS.Cells[3, 0] := 'Score'; | ||
for I := 1 to 10 do | ||
begin | ||
strngrdHS.Cells[0, I] := IntToStr(I); | ||
strngrdHS.Cells[1, I] := Form1.HSname[I]; | ||
strngrdHS.Cells[2, I] := IntToStr(Form1.HSjewels[I]); | ||
strngrdHS.Cells[3, I] := IntToStr(Form1.HSscore[I]); | ||
end; | ||
end; | ||
|
||
end. | ||
|
Oops, something went wrong.