root / UFUserEquation.pas @ 5
Historique | Voir | Annoter | Télécharger (1,021 ko)
1 | 3 | avalancogn | unit UFUserEquation;
|
---|---|---|---|
2 | |||
3 | interface
|
||
4 | |||
5 | uses
|
||
6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, |
||
7 | Dialogs, StdCtrls, Buttons, PBNumEdit, JvExStdCtrls, JvEdit, JvValidateEdit, |
||
8 | gnugettext; |
||
9 | |||
10 | type
|
||
11 | TFUserEquation = class(TForm)
|
||
12 | BBOk: TBitBtn; |
||
13 | BBCancel: TBitBtn; |
||
14 | LLongName: TLabel; |
||
15 | LShortName: TLabel; |
||
16 | LEquation: TLabel; |
||
17 | LA: TLabel; |
||
18 | LB: TLabel; |
||
19 | LC: TLabel; |
||
20 | RBMass: TRadioButton; |
||
21 | RBRatioPVV: TRadioButton; |
||
22 | ELongName: TEdit; |
||
23 | VEA: TJvValidateEdit; |
||
24 | VEB: TJvValidateEdit; |
||
25 | VEC: TJvValidateEdit; |
||
26 | EShortName: TEdit; |
||
27 | procedure FormCreate(Sender: TObject);
|
||
28 | private
|
||
29 | { D?clarations priv?es }
|
||
30 | public
|
||
31 | { D?clarations publiques }
|
||
32 | end;
|
||
33 | |||
34 | var
|
||
35 | FUserEquation: TFUserEquation; |
||
36 | |||
37 | implementation
|
||
38 | |||
39 | {$R *.dfm}
|
||
40 | |||
41 | { TFCommentAli }
|
||
42 | |||
43 | procedure TFUserEquation.FormCreate(Sender: TObject);
|
||
44 | begin
|
||
45 | if Screen.Fonts.IndexOf('Arial Unicode MS') <> -1 |
||
46 | then
|
||
47 | Font.Name := 'Arial Unicode MS';
|
||
48 | TranslateComponent(Self); |
||
49 | end;
|
||
50 | |||
51 | end. |