Вверх ↑
Ответов: 8921
Рейтинг: 823
#1: 2017-12-05 11:43:06 ЛС | профиль | цитата
rav, главное правильно понять по тексту необходимое
схемка


Add(MainForm,11711561,329,63)
{
Width=184
Height=200
BorderStyle=3
Position=1
Point(Handle)
Point(Left)
Point(Top)
Point(onMove)
Point(doHeight)
link(onCreate,920962:doCalc,[(371,83)(371,139)])
link(onMove,10596629:doWork1,[(375,90)(375,62)(207,62)])
}
Add(ListBox,15837332,392,63)
{
Width=168
Height=152
Align=5
Font=[MS Sans Serif,10,0,0,1]
Name="form"
Strings=#5:line1|5:line2|5:line3|5:line4|5:line5|5:line6|5:line7|5:line8|5:line9|6:line10|6:line11|6:line12|6:line13|6:line14|0:|
Point(Width)
Point(MouseY)
Point(String)
Point(Index)
link(onClick,13240540:doEvent1,[(452,76)(452,55)(172,55)(172,188)])
}
Add(ChildForm,10327731,427,182)
{
FirstUsage=0
link(onEvent1,3519927:doMessage,[])
link(Data1,15837332:String,[])
}
BEGIN_SDK
Add(EditMulti,10907509,14,7)
{
EventCount=1
WorkCount=3
DataCount=1
Width=237
Height=165
VOffset=30
link(doWork1,10308009:doLeft,[(39,43)(39,71)])
link(doWork2,10308009:doTop,[(27,50)(27,78)])
link(doWork3,10308009:doVisible,[(21,57)(21,85)])
}
Add(MainForm,10308009,49,23)
{
Width=174
Height=24
Color=8421504
Visible=1
Ctl3D=0
WinStyle=1
Caption=""
BorderStyle=6
TaskBar=1
TransparentManager="transp"
FormFastening="parent.form"
Point(doShiftLeft)
Point(doShiftTop)
Point(doLeft)
Point(doTop)
Point(doVisible)
}
Add(TransparentManager,13441677,147,86)
{
Name="transp"
TransparentColor=8421504
FormTranspColor=8421504
}
Add(Button,906471,98,9)
{
Left=5
Top=1
Width=20
TabOrder=-1
Caption="L"
link(onClick,3175090:doWork1,[(163,15)])
}
Add(Button,3367558,98,44)
{
Left=30
Top=1
Width=20
TabOrder=-1
Caption="P"
link(onClick,3175090:doWork3,[(163,50)])
}
Add(DoData,16545535,196,37)
{
link(onEventData,10907509:onEvent1,[])
link(Data,10907509:Data1,[(202,22)(20,22)])
}
Add(HubEx,3175090,159,37)
{
link(onEvent,16545535:doData,[])
}
END_SDK
Add(Hub,11888096,224,182)
{
OutCount=3
link(onEvent1,16488798:doOperation,[])
link(onEvent2,5930408:doCalc,[])
link(onEvent3,6409591:doForeground,[(249,202)(249,153)])
}
Add(Math,16488798,322,182)
{
OpType=1
Op2=55
ResultType=0
link(onResult,10327731:doWork1,[])
link(Op1,11711561:Left,[(328,159)(342,159)])
}
Add(WinTools,6409591,280,119)
{
Point(doForeground)
link(Handle,11711561:Handle,[(286,110)(335,110)])
}
Add(Message,3519927,476,182)
{
}
Add(DoData,2557340,217,224)
{
Data=Integer(1)
link(onEventData,10327731:doWork3,[(410,230)(410,202)])
}
Add(MathParse,5930408,371,189)
{
MathStr="%1*16 + 25 + %2"
link(onResult,10327731:doWork2,[])
link(X1,15837332:Index,[(377,159)(440,159)])
link(X2,11711561:Top,[(384,173)(349,173)])
}
Add(MathParse,920962,385,133)
{
DataCount=1
MathStr="(%1>9)*(%1*16 + 40) + (%1<=9)*200"
link(onResult,11711561:doHeight,[(424,139)(424,118)(319,118)(319,97)])
link(X1,15837332:Count,[(391,124)(405,124)])
}
Add(Hub,13240540,182,182)
{
link(onEvent1,10596629:doWork2,[])
link(onEvent2,2557340:doData,[(207,195)(207,230)])
}
Add(HubEx,10596629,203,182)
{
link(onEvent,11888096:doEvent1,[])
}

карма: 19

0