Леонид писал(а):
Возьмите компонент от Tad-а Add(MainForm,10210783,329,175)
{
Width=120
Height=142
Position=1
}
Add(Label,3979818,364,140)
{
Left=15
Top=15
Height=20
Color=10987519
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="0.17"
AutoSize=1
Alignment=2
}
Add(Label,1955835,427,140)
{
Left=16
Top=60
Height=20
Color=16764057
Font=[Calibri,11,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="0.14"
AutoSize=1
Alignment=2
}
Add(Label,245292,497,217)
{
Left=34
Top=38
Height=19
Color=12644534
Font=[Calibri,10,1,0,204]
Ctl3D=0
WinStyle=2
Name="нз 13"
Caption="0.17"
AutoSize=1
Alignment=1
}
Add(UpDown,11514661,329,217)
{
Left=14
Top=35
Height=25
Max=100
Position=50
Step=2
link(onPosition,13284789:doCalc,[])
}
Add(MathParse,13284789,385,217)
{
DataCount=3
MathStr="((%2 - %3)/100)*%1+%3"
link(onResult,1471635:doConvert,[])
link(X2,3979818:Caption,[(398,184)(370,184)])
link(X3,1955835:Caption,[(405,184)(433,184)])
}
Add(ConvertorEx,1471635,441,217)
{
Mode=15
Width=5
Decimals=3
link(onResult,245292:doText,[])
}