Add(MainForm,2953706,103,252)
{
link(onCreate,15270323:doSetFocus,[(219,272)(219,270)])
}
Add(Edit,9134287,223,245)
{
Left=55
Top=80
Width=20
Text="+7"
DataType=2
}
Add(Edit,15270323,304,250)
{
Left=90
Top=80
Width=25
Text=""
DataType=2
Point(doSetFocus)
link(onChange,3306392:doLength,[])
}
Add(Label,2118991,371,164)
{
Left=75
Top=80
Width=14
Height=20
Color=16777215
Font=[MS Sans Serif,10,1,0,1]
Caption="("
AutoSize=1
Alignment=2
}
Add(Label,9663243,418,157)
{
Left=115
Top=80
Width=14
Height=20
Color=16777215
Font=[MS Sans Serif,10,1,0,1]
Caption=")"
AutoSize=1
Alignment=2
}
Add(Edit,1327678,448,252)
{
Left=130
Top=80
Width=25
Text=""
DataType=2
Point(doSetFocus)
link(onChange,15796778:doLength,[])
}
Add(Label,3218565,463,178)
{
Left=155
Top=80
Width=14
Height=20
Color=16777215
Font=[MS Sans Serif,10,1,0,1]
Caption="-"
AutoSize=1
Alignment=2
}
Add(Edit,2785998,600,249)
{
Left=170
Top=80
Width=20
Text=""
DataType=2
Point(doSetFocus)
link(onChange,12728163:doLength,[(640,255)(640,256)])
}
Add(Label,3432332,503,171)
{
Left=190
Top=80
Width=14
Height=20
Color=16777215
Font=[MS Sans Serif,10,1,0,1]
Caption="-"
AutoSize=1
Alignment=2
}
Add(Edit,9685747,749,250)
{
Left=205
Top=80
Width=20
Text=""
DataType=2
Point(doSetFocus)
link(onChange,15004000:doLength,[])
}
Add(Length,3306392,353,250)
{
link(onLength,9940058:doCase,[])
}
Add(Case,9940058,399,250)
{
Value=Integer(3)
link(onTrue,1327678:doSetFocus,[(439,263)(439,272)])
}
Add(Length,15796778,500,252)
{
link(onLength,11942222:doCase,[])
}
Add(Case,11942222,546,252)
{
Value=Integer(3)
link(onTrue,2785998:doSetFocus,[(589,265)(589,269)])
}
Add(Length,12728163,647,250)
{
link(onLength,9705922:doCase,[])
}
Add(Case,9705922,693,250)
{
Value=Integer(2)
link(onTrue,9685747:doSetFocus,[(737,263)(737,270)])
}
Add(Length,15004000,794,250)
{
link(onLength,4149835:doCase,[])
}
Add(Case,4149835,840,250)
{
Value=Integer(2)
link(onTrue,16703823:doString,[(903,263)(903,424)(170,424)(170,342)])
}
Add(Message,9919747,518,336)
{
}
Add(FormatStr,16703823,392,336)
{
DataCount=5
Mask="%1(%2)%3-%4-%5"
link(onFString,9919747:doMessage,[])
link(Str1,9134287:Text,[(398,306)(229,306)])
link(Str2,15270323:Text,[(405,300)(310,300)])
link(Str3,1327678:Text,[(412,310)(454,310)])
link(Str4,2785998:Text,[(419,317)(606,317)])
link(Str5,9685747:Text,[(426,324)(755,324)])
}
Ответов: 1328
Рейтинг: 69
|
|||
Я бы убрал возможность ввода символов, по моему так проще всего:
|
|||
карма: 2 |
|