.


:




:

































 

 

 

 


2. 4. 7. Tprintersetupdialog




, . , Execute , .

2.4.8. TFindDialog

TFindDialog .

property FindText: string;
property Left: Integer;
property Options: TfindOptions:
property Position: TPoint;
property Top: Integer;

, Options: TfindOptions.

:

FrDown
frDown frFindNext , " "
FrHideMatchCase " "
frHideWholeWord " "
frHideUpDown
frMatchCase "
frDisableMatchCase " "
frDisableUpDown
frDisableWholeWord
frReplace TReplaceDialog
frReplaceAll Treplace Dialog
frWholeWord " "
frShowHelp Help

2.4.9. TReplaceDialog

. TReplaceDialog acca TFind-Dialog. ReplaceText ( String), , OnReplace, "" " ".


. OBJECT PASCAL

. 1.

, 1, 2 4 .

,
Byte   0...255
Shortint   -128...+127
Smallint   -32 768...+32 767
Word   0...65 535
Integer   -2 147 483 648...+2 147 483 647
Longint   -2 147 483 648...+2 147 483 647
Cardinal   0... 2147483647

:

 

abs ()
chr (Byte) Char
dec(x[,i]) i, 1 - 1
inc(x[,i]) v i, i - 1
Hi (word) Byte
Hi(integer) Byte
Lo(integer) Byte
Lo (word) Byte
Odd(Longlnt) Boolean True, -
Random(word) , 0...(word)
sqr () x
swap (integer) Integer
swap(word) Word

. 2.

 

Boolean, ByteBool, Bool, WordBool LongBool. Boolean, Object Pascal Windows: Boolean ByteBool 1 , Bool WordBool - 2 , LongBool - 4 . : False () True (). , :

0rd(False) = 0;

Ord(True) <> 0;

Succ(False) = True;

Pred(True) = False.

. 3.

. 0...255. , ord.

Windows . 0...127 . 128...255 . 0...31 . , .

Char ,

Chr () - Char, Byte i ;

UpCase () - Char, , , ( ).

3.4.

, oi . , .

, -:

High (X) - -, X;

Low (X) - -.

. 5.

, .

, -
Real   11...12 2,9*10-39...1,7*1039 , ..
Single   7...8 1,5*10-45... 3,4*1038 -
Double   15...16 5,0*10-324...1,7*10308 -
Extended   19...20 3,4*10-49511,1*104932
Comp   19...20 -263+263-1
Currency   19...20 922337203685477,5807 4

 

:

 

abs(x) ,
() ( )
Cos(x) ( )
()
Frac(x)
lnt(x)
Ln(x)
Pi --- =3.141592653...
Random , 0...[1]
Random(x) , 0...x
Randomize
Sin (x) ( )
Sqr(x)
Sqrt(x)

. 6. -

- TDateTime , . TDateTime , , .


4





:


: 2016-07-29; !; : 337 |


:

:

, , .
==> ...

1893 - | 1535 -


© 2015-2024 lektsii.org - -

: 0.013 .