home *** CD-ROM | disk | FTP | other *** search
- unit Urankin;
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, StdCtrls, Buttons,IniFiles;
-
- type
- TTeeRanking = class(TForm)
- ListBox1: TListBox;
- BitBtn1: TBitBtn;
- procedure BitBtn1Click(Sender: TObject);
- procedure FormShow(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- TeeRanking: TTeeRanking;
-
- implementation
-
- {$R *.DFM}
-
- procedure TTeeRanking.BitBtn1Click(Sender: TObject);
- begin
- Close;
- end;
-
- procedure TTeeRanking.FormShow(Sender: TObject);
- begin
- With TIniFile.Create('teepac.ini') do
- try
- ReadSection('Ranking',Listbox1.Items);
- finally
- Free;
- end;
- end;
-
- end.
-