.


:




:

































 

 

 

 


Delphi,




 

1 Delphi

: Delphi.

 

:

1. Delphi,

2.

Delphi,

 

, , .

 

Delphi :

1) , , ;

2) . , : (Properties) (Events):

- Properties . , .

- Events . .

3) - ;

4) - Delphi.

 
 

1 - Delphi

 

File , , ,
Edit Clipboard,
Search
View ,
Project , ,
Run , , , ..
Component ,
Database
Tools , , , (Image Editor), , .. , , , Delphi.
Workgroups , ,
Help

(. 1):

 

1

 

-
  File | New
  File | Open File | Reopen , , . Reopen,
File | Open Project
Project | Add to Project
Project | Remove from Project
File | New Form
File | Save File File | Save
File | Save All ( )
View | Units
View | Forms
View | Toggle Form/Unit
Run | Run . ,
Run | Program Pause .
Run | Trace Info
Run | Step Over
Help | Contents

.

( 2):

-

2

 

1. Standard. Windows ;

2. Additional ;

3. Win32 , Win32 ;

4. System , ;

5. Database Access ;

6. Data Controls ;

7. dbExpress , BDE;

8. BDE ;

9. ADO , Active Data Object (ADO);

10. InterBase InterBase;

11. WebServices ;

12. InternetExpress Internet;

13. FastNet ;

14. QReport ;

15. Dialogs ;

16. Win3. 11 Win 3.1;

17. Samples .

 

 

. (. 3).

 

3

 

:

ActiveControl - , ;

Align - ; . :

alNone ; alBottom ;

alLeft - ;

AlRight - ;

AlTop - ;

, .

AlphaBlend - , , . true, ;

AlphaBlendValue - , , 0 255;

Anchors - , , , :

akLeft ( true);

akTop ( true);

akRight ( flase);

akBottom ( false).

.

AutoScroll - , , ;

AutoSize - , ;

BorderIcons - , , (. 4):

biSystemMenu ( ) ;

biMinimize ;

biMaximize .

 

4 BorderIcons

 

BorderStyle , , :

bsSizeable , , , ;

bsDialog ;

bsNone ;

bsSingle . Maximize;

 

bsSizeToolWin .

BorderWidth ;

Caption , ; ClientHeight ;

ClientWidth - ;

Color .

, . - , , ( 5).

 

5

 

Constraints .

MaxHeight .

MaxWidth .

MinHeight .

MinWidth .

, .

Cursor , /. :

DockSite - , , / Drag&Drop.

DragKind Drag&Drop, :

dkDrag Drag&Drop .

dkDock . , .

DragMode Drag&Drop, :

dmManual ;

dmAutomatic Draq&Drop , .

Enabled , . true, . ( 6).

 

6 Enabled

 

Font . , Windows ( 7).

 

7

 

FormStyle - ,

fsNormal ;

fsMDIForm MDI .

fsMDIChild MDI .

fsMDIForm - , fsMDIChild , , .

fsStayOnTop .

Height , ;

Hint , /;

HorzScrollBar ;

Icon ;

Left , ;

Menu , ;

Name /;

Position , :

poDefault Windows , ;

poDefaultPosOnly - Windows , , ;

poDefaultSizeOnly - Windows , , ;

poDesigned , , ; poDesktopCenter ;

poMainFormCenter ; poOwnerFormCenter ;

poScreenCenter - .

ShowHint , , ;

Top . ;

VertScrollBar ;

Visible - . true, / . / ;

Width - . ;

WindowState , :

wsNormal ;

wsMaximized - ;

wsMinimized - .

 

Events . Dilphi :

 

OnActivate
OnCanResize , . - - .
OnClick , .
OnCreate , .
OnClose , .
OnCloseQuery . , ,
OnDblClick , .
OnDeactivate , .
OnDestroy .
OnHide , . , , , .
OnKeyDown , .
OnKeyPress , .
OnKeyUp , .
OnMouseDown , .
OnMouseMove , .
OnMouseUp , .
OnMouseWheel .
OnMouseWheelDown , .
OnMouseWheelUp , .
OnPaint , .
OnResize , .
OnShortCut .
OnShow , . , .

 

: 1, .17-27.

:

1. Delphi?

2. ?

3. ?

4. ?

5. ?

 

 





:


: 2016-11-24; !; : 3875 |


:

:

,
==> ...

1743 - | 1680 -


© 2015-2024 lektsii.org - -

: 0.062 .