-
Notifications
You must be signed in to change notification settings - Fork 0
/
unit4.pas
executable file
·79 lines (58 loc) · 1.97 KB
/
unit4.pas
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
70
71
72
73
74
75
76
77
78
{-----------------------------------------------------------------------------
Author: Alexander Roth
Date: 04-Nov-2006
Dieses Programm ist freie Software. Sie können es unter den Bedingungen
der GNU General Public License, wie von der Free Software Foundation
veröffentlicht, weitergeben und/oder modifizieren, gemäß Version 2 der Lizenz.
Description:
-----------------------------------------------------------------------------}
unit Unit4;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs,
ButtonPanel, ExtCtrls, StdCtrls, Buttons;
type
{ TFormSiedeBarOptions }
TFormSiedeBarOptions = class(TForm)
Button1: TButton;
Button2: TButton;
RadioGroup1: TRadioGroup;
procedure Button1Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
procedure RadioGroup1Click(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
var
FormSiedeBarOptions: TFormSiedeBarOptions;
implementation
uses unit1, ExpandPanels;
{ TFormSiedeBarOptions }
procedure TFormSiedeBarOptions.Button1Click(Sender: TObject);
begin
// Form1.ExpandPanelsMainOption.UseClientHeight:=false;
case RadioGroup1.ItemIndex of
0: Form1.ExpandPanelsMainOption.Behaviour:=EPMultipanel;
1: Form1.ExpandPanelsMainOption.Behaviour:=EPSinglePanel;
2: Form1.ExpandPanelsMainOption.Behaviour:=EPHotMouse;
end;
//Form1.OptioAperture.Button.Height:=Form1.OptioAperture.OriginalExpandedHeight;
//Form1.PProgrammerInfo.Button.Height:=Form1.PProgrammerInfo.OriginalExpandedHeight;
//Form1.OptioExtended.Button.Height:=Form1.OptioExtended.OriginalExpandedHeight;
//Form1.OptioScreen.Button.Height:=Form1.OptioScreen.OriginalExpandedHeight;
//
Close;
end;
procedure TFormSiedeBarOptions.Button2Click(Sender: TObject);
begin
Close;
end;
procedure TFormSiedeBarOptions.RadioGroup1Click(Sender: TObject);
begin
end;
initialization
{$I unit4.lrs}
end.