-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAuditionFrm.pas
More file actions
42 lines (34 loc) · 796 Bytes
/
AuditionFrm.pas
File metadata and controls
42 lines (34 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
unit AuditionFrm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ComCtrls, Buttons, ExtCtrls, MMSystem;
type
TAuditionForm = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
BitBtn1: TBitBtn;
lTrack: TLabel;
lPlaying: TLabel;
private
{ Private declarations }
count: Integer;
procedure womDone(var Msg: TMessage); message MM_WOM_DONE;
public
{ Public declarations }
end;
resourcestring
lastSecondsStr = 'Last seconds';
implementation
{$R *.DFM}
procedure TAuditionForm.womDone;
begin
OutputDebugString('WOM DONE!');
if count <> 0 then
ModalResult := mrOK
else begin
inc(count);
lPlaying.Caption := lastSecondsStr;
end;
end;
end.