.


:




:

































 

 

 

 





- Delphi

- ,


email: [email protected]

, . .

. , .

- Delphi () .

, - , :

, ;

, - .

, , - .

, - .


. 5

- . 6

1. . 8

. 10

1. 12

. 17

2. 18

Edit, Memo. BitBtn. 19

3. MainMenu - .. 20

2. . 21

.. 22

4. 24

5. . 25

. 26

6. 27

(CheckBox) (RadioButton). . 27

7. 32

3. . 34

. 39

8. 40

- . . 41

9. 44

. . 45

10. 46

4. . .. 49

/ . 52

(With) 54

.. 55

11. 57

. 59

12. 60

.. 61

13. 63

5. .. 64

. .. 67

. 68

14. 69

. 70

15. 74

Samples. OnDownClick OnUpClick 74

16. 75

Dialogs. 76

17. 76

. 78

.. 80


9. -, " ", 12. , . . , , , , - .

, , .

:

: , .

: .

1) ;

2) ;

3) , , , ;

4) ;

5) , , , ;

6) .

:

1. ( )

2.

3. ( , )

4.

5.

:

1.

Ø ( )

Ø

2. (-)

, , .. .

(). - , . , .

-

. , .

:

1. (Basic)

2. (Pascal);

3. (Prolog);

4. - (Delphi);

5. (Lisp ( )).

(, .). . , (Button1) TButton. , , .

TButton

         
Button1 Button2 Button3 ButtonN

, .

TButton

, .

(Name (), Caption () .).

, , (, ).

, .

:

. , .

. , . . .

. , , , .

1. .

1.

1. ? _______________________________________________________

2.

a. ______________________________

b. ______________________________

c. ______________________________

d. ______________________________

e. ______________________________

3.

_____________________________________

4. ? ______________________________________________

5. . _______________________________________________________

2*.

1. . ________________________________________

2.

____________________ ____________________
  ____________________ ____________________

3. ? __________________________________________

4. ? ________________________________________________

5. ?

____________________ ____________________ ____________________

Delphi :

1. . (, , ..)

: Standard, Additional . .

2. . .

3. . .

4.

(Properties) (Events). . , Caption () Form1 (. .) Form1. ! Caption Name. ,

.

1

1. Delphi

2. , (Form), (Unit),

. , , , Delphi.

, Caption () Form1 . Form1 ( ). Object Inspector ( ) → Properties ( ) aption ( Caption ).

. :

Label ()

Edit ( )

Memo ( )

Label1 aption ()

3. TLabel Label1 Form1

4. Label1 . Object Inspector ( )Properties ( ) Caption () Delphi.

Edit1 Text ( )

. , ,

(Unit) (). Memo1, TForm1.Memo1Change (); ( !)

procedure TForm1.Memo1Change(Sender: TObject);

begin

end;

( begin end) , .. , ( Memo1)

5. TMemo Memo1 Form1. Lines Memo1. ( Memo1, Lines Memo1).

6. Memo1 , TForm1.Memo1.Change (); ( )

7.

Memo1.Text:=' Delphi';

.. , Memo1, Delphi

. , (TButton). , - . , . OnClick .

8. Button Button1 Form1

9. TLabel Label2 Form1

10. Button1. Caption ( Button1, Properties Caption).

11. Button1 , TForm1.Button1Click(Sender: TObject); ( )

12. Label2.Caption:=' Delphi';

.. , , Label2 Delphi

Close;

. , .

13. Form1. olor ( ) . , .

14. Label1. Color , Font Arial, , 26 , .

15. Memo1, Edit1, Label2

, , Label2.Font.Size:=30; Label2.Font.olor:=clWhite; .. 2 30, - .

Label2.Font.Style:=fsbold; {},

Label2.Font.Style:=fsitalic; {},

Label2.Font.Style:=fsunderline; {}.

Label2.Font.Name:=Arial; {Arial} Label2.Font.Name:=Times New Roman; {Times New Roman}

:

1. , ! , , . .

2. , Edit1 . .

3. , :

Times New Roman, 18, ,

Courier New, 40, ,

Arial, 22, ,

Webdings, 12, ,

Monotype Corsiva, 32,





:


: 2015-11-05; !; : 951 |


:

:

,
==> ...

1732 - | 1724 -


© 2015-2024 lektsii.org - -

: 0.065 .