File: unit_quelobjet.pas

package info (click to toggle)
optgeo 2.25-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 6,948 kB
  • sloc: pascal: 58,877; xml: 63; makefile: 58
file content (60 lines) | stat: -rw-r--r-- 1,101 bytes parent folder | download
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
unit unit_quelobjet;

{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, LazFileUtils, LResources, Forms, Controls, Graphics, Dialogs,
  StdCtrls, Buttons,UnitScaleFont,UChaines;

type

  { TForm_quelobjet }

  TForm_quelobjet = class(TForm)
    BitBtn1: TBitBtn;
    ComboBox1: TComboBox;
    procedure ComboBox1Change(Sender: TObject);
    procedure FormCreate(Sender: TObject);
    procedure FormShow(Sender: TObject);
  private  encreation:boolean;
    { private  encreation:boolean; declarations }
  public
    { public declarations }
  end; 

var
  Form_quelobjet: TForm_quelobjet;

implementation

{ TForm_quelobjet }

procedure TForm_quelobjet.ComboBox1Change(Sender: TObject);
begin

end;

procedure TForm_quelobjet.FormCreate(Sender: TObject);
begin
   encreation:=true;
   BITBTN1.CAPTION:=rsOK;

CAPTION:=rsPropriTSDeLO;
end;

procedure TForm_quelobjet.FormShow(Sender: TObject);
begin
  {if encreation then begin
    scalefont(self);
    encreation:=false;

  end; }
end;

initialization
  {$I unit_quelobjet.lrs}

end.