ComboBox , , , .
9.
9.
: Label ; Edit ; ComboBox ; Button .
.
1. C++ Builder. . , , File / New /Application.
2. , File / Save Project As. .
3. Standard, Label . Edit , Button ComboBox . Label, Edit, Button ComboBox 9.
4. . ( ) Properties Caption (.10). Form1 .
10. Caption ()
5. Label1- Label3 9. Label Properties Caption.
6. Edit1 Edit2. Edit Properties Text.
7. Edit2 ( , ), ReadOnly true ( Edit4 ).
8. ComboBox1 ComboBox2. . Properties Items ( 11).
11. ComboBox1
(. 12) .
12.
ComboBox ItemIndex. . ( ) ItemIndex = 0 (. 11).
Style. Style csDropDown. , ComboBox. ComboBox1 ComboBox2. Style
|
|
csDropDownList. ComboBox Style csDropDownList , , .
9. Button1. Button1 Properties Caption .
10. Edit1 , . , , . Edit1
Events ().
OnKeyPress ( ) . :
0 9, BackSpase ( 8). .
11. (, ), . , 5 . : 5=8045, : 8045=8801,969365426696 .
1=0,001 | 1=1000 | 1=0,305 |
1=0,01 | 1=1609 | 1=0,914 |
Button1. Button1 .
, .