.


:




:

































 

 

 

 


Samples. OnDownClick OnUpClick




TSpinButton

OnDownClick OnUpClick, .

TolorGrid

16- . BackGroundIndex , GridOrdering .

16

: Up, Down.

procedure TForm1.SpinButton1DownClick(Sender: TObject);

begin

edit2.text:='Down'

end;

procedure TForm1.SpinButton1UpClick(Sender: TObject);

begin

edit2.text:='Up'

end;

:

, .

Dialogs

TOpenDialog TSaveDialog

.

FileName (TOpenDialog) (TSaveDialog)
Filter
DefaultExt ,
Files ,

17

.

1. TOpenDialog, TButton TMemo.

2. .

3. Procedure TForm1.Button1Click (Sender: TObject);

Begin

//

OpenDialog1.Filter:= |*.txt|+Bat |*.bat|;

//

If OpenDialog1.Execute and FileExists(OpenDialog1.FileName) then

//

// Memo

Memo1.Lines.LoadFromFile (OpenDialog1.FileName)

End;


1

1. 3 a, b, c.

2. s=1/(p+2)+ 2/(p+2)++ p/(p+2)

3. . .

4. . 10.

2

1. a, b, c, d.

2. s=1+1/2+1/3++1/k

3. . +, -, *, /

4. . 5.

3

1. a, b, c.

: a*b*c.

2. s=1+1/4+1/9++1/n2

3. . * +.

4. . 0.

4*

1. (x1, y1). (x2, y2), (x3, y3), (x4, y4).

2. s=(1+3+5++2n-1)2-(2+4+6++2n)3

3. . .

4. . :

       
       
...
n n n n

1. Delphi 7. ./ . ... .: , 2003.

2. . . Object Pascal Delphi 5. . . 1999.

3. .. Delphi 7. ., 2004.

4. .. - . ., 1990.

5. ./ . .. . ., 2003.

6. .., .., .. . ., 1999.

7. .. . ., 2003. ., . . ., 2000.

8. ., ., . . ., 2002.

9. .. Delphi. . ., 2004.

10. .. Turbo Pascal 7.0. . . 7-, . .: , 2000.

 





:


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


:

:

, .
==> ...

1566 - | 1338 -


© 2015-2024 lektsii.org - -

: 0.013 .