-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRUNIT6.PAS
More file actions
69 lines (56 loc) · 1.42 KB
/
RUNIT6.PAS
File metadata and controls
69 lines (56 loc) · 1.42 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
unit runit6;
interface
uses
geometry,Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Spin;
type
TForm6 = class(TForm)
GroupBox1: TGroupBox;
RadioButton1: TRadioButton;
RadioButton2: TRadioButton;
RadioButton3: TRadioButton;
RadioButton4: TRadioButton;
RadioButton5: TRadioButton;
SpinEdit1: TSpinEdit;
Label1: TLabel;
procedure RadioButton1Click(Sender: TObject);
procedure RadioButton2Click(Sender: TObject);
procedure RadioButton3Click(Sender: TObject);
procedure RadioButton4Click(Sender: TObject);
procedure RadioButton5Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form6: TForm6;
implementation
uses rUnit1;
{$R *.DFM}
procedure TForm6.RadioButton1Click(Sender: TObject);
begin
form1.scene.current_zone:=1;
form1.viewport.invalidateGl;
end;
procedure TForm6.RadioButton2Click(Sender: TObject);
begin
form1.scene.current_zone:=2;
form1.viewport.invalidateGl;
end;
procedure TForm6.RadioButton3Click(Sender: TObject);
begin
form1.scene.current_zone:=3;
form1.viewport.invalidateGl;
end;
procedure TForm6.RadioButton4Click(Sender: TObject);
begin
form1.scene.current_zone:=4;
form1.viewport.invalidateGl;
end;
procedure TForm6.RadioButton5Click(Sender: TObject);
begin
form1.scene.current_zone:=5;
form1.viewport.invalidateGl;
end;
end.