Вверх ↑
Ответов: 875
Рейтинг: 322
#1: 2010-07-15 08:27:57 ЛС | профиль | цитата
nesco, да уж... а я мудрил с ифами если не в размерах формы то таймер не проходит, но ты четко сделал.
------------ Дoбавленo в 08.27:
Тоже яйцо, только в профиль.

Add(MainForm,2953706,322,63)
{
Width=321
Height=278
Position=1
Point(Left)
Point(Top)
Point(Width)
Point(Height)
Point(onMouseMove)
link(onCreate,3580900:doWork1,[(373,83)])
link(onMouseMove,3580900:doWork2,[])
}
Add(Label,9921085,399,126)
{
Left=65
Top=90
}
Add(MultiElementEx,14792073,322,126)
{
link(Op2,2953706:Left,[])
link(Data,2953706:Top,[])
link(Op21,2953706:Width,[])
link(Data1,2953706:Height,[])
link(onEvent,9921085:doText,[])
}
BEGIN_SDK
Add(EditMultiEx,12059877,21,21)
{
WorkCount=#11:doOperation|
EventCount=#7:onEvent|
DataCount=#3:Op2|4:Data|4:Op21|5:Data1|
Width=482
Height=340
VOffset=80
HOffset=160
link(doOperation,5755445:doOperation,[(60,107)(60,147)])
}
Add(Timer,9728861,49,266)
{
Interval=50
link(onTimer,3396045:doCheck,[])
}
Add(PointInRect,3396045,174,266)
{
link(onTrue,15845191:doEvent1,[])
link(Point,7778092:Point,[(180,253)(131,253)])
link(RPoint1,11563885:Point,[])
link(RPoint2,14594851:Point,[(194,254)(257,254)])
}
Add(PointXY,7778092,125,209)
{
link(X,8129799:Var2,[])
link(Y,5684195:Var2,[])
}
Add(MouseEvent,13938438,125,84)
{
}
Add(PointXY,11563885,181,209)
{
link(X,4908399:Var2,[])
link(Y,4281455:Var2,[])
}
Add(PointXY,14594851,251,210)
{
link(X,5755445:Result,[])
link(Y,6402734:Result,[(264,202)(313,202)])
}
Add(Math,5755445,251,141)
{
link(onResult,6402734:doOperation,[])
link(Op1,4908399:Var3,[(257,111)])
link(Op2,12059877:Op21,[(264,66)(201,66)])
}
Add(Math,6402734,307,141)
{
link(Op1,4281455:Var3,[(313,83)])
link(Op2,12059877:Data1,[(320,51)(208,51)])
}
Add(DoData,3475126,363,266)
{
link(onEventData,15159488:doWork2,[])
link(Data,8129799:Var3,[(369,194)])
}
Add(DoData,8007030,405,273)
{
link(onEventData,15159488:doWork3,[(458,279)])
link(Data,5684195:Var3,[(411,180)])
}
Add(Hub,15845191,286,266)
{
link(onEvent1,3475126:doData,[])
link(onEvent2,8007030:doData,[])
}
Add(HubEx,15159488,454,266)
{
link(onEvent,12059877:onEvent,[(482,272)(482,107)])
}
Add(GetDataEx,4908399,181,106)
{
link(Data,12059877:Op2,[])
}
Add(GetDataEx,4281455,188,78)
{
link(Data,12059877:Data,[])
}
Add(GetDataEx,8129799,125,189)
{
link(Data,13938438:MouseX,[])
}
Add(GetDataEx,5684195,132,175)
{
link(Data,13938438:MouseY,[])
}
END_SDK
Add(Memo,8233277,399,63)
{
Left=140
Top=35
Width=130
Height=125
}
Add(HubEx,3580900,369,84)
{
Angle=1
link(onEvent,14792073:doOperation,[(373,112)(310,112)(310,132)])
}

карма: 1

0