Add(MainForm,16003123,308,154) { Width=501 Height=526 Position=1 link(onCreate,4172574:doWork1,[]) } Add(ChildScrollBox,4172574,413,168) { link(Data1,5481674:Result,[]) link(Data2,3951218:Position,[(426,114)(475,114)]) link(Data3,16705758:Position,[(433,122)(545,122)]) } BEGIN_SDK Add(EditMulti,384266,21,21) { WorkCount=2 DataCount=3 Width=720 Height=431 VOffset=150 HOffset=300 link(doWork1,1293224:doWork2,[(32,177)(32,174)]) link(doWork2,4213164:doEvent1,[(36,184)(36,279)]) } Add(ScrollBox,169794,630,49) { Left=7 Top=61 Width=473 Height=418 } Add(Img_Polygon,14631730,413,357) { PointsArray=[] Color=16777215 Style=1 Point(Offset) Point(BgColor) link(onDraw,5124027:doCalc,[]) link(Bitmap,6252222:Var2,[]) link(PointsArray,57398:Array,[]) link(Offset,234763:Point,[(433,341)(468,341)]) link(BgColor,12410166:Random,[(440,320)(503,320)(503,243)(482,243)]) } Add(PaintBox,4172755,364,280) { Width=800 Height=600 Color=0 } Add(PointXY,234763,462,280) { link(X,11827988:Var2,[]) link(Y,16308253:Var2,[]) } Add(IntegerArray,57398,420,280) { IntArray=['0'=8,'0'=24,'0'=917535,'0'=1769496,'0'=1769479,'0'=917504] } Add(DoData,13382808,371,357) { link(onEventData,14631730:doDraw,[]) } Add(Img_Text,4786546,581,357) { Font=[Arial,6,0,0,204] Point(X) Point(Y) link(Bitmap,6252222:Var3,[(587,327)]) link(Text,5667517:Value,[]) link(X,5124027:Result,[(601,337)(623,337)(623,414)(496,414)]) } Add(GetDataEx,6252222,413,322) { Angle=3 link(Data,4172755:Bitmap,[(370,327)]) } Add(MathParse,5124027,490,357) { MathStr="%1 + 15 - %2 div 2" ResultType=0 link(onResult,11468099:doCalc,[]) link(X1,11827988:Var3,[(496,250)]) link(X2,4786546:TextWidth,[(503,341)(574,341)(574,398)(587,398)]) } Add(MathParse,11468099,532,357) { MathStr="%1 + 15 - %2 div 2" ResultType=0 link(onResult,4786546:doDraw,[]) link(X1,16308253:Var3,[(538,263)]) link(X2,4786546:TextHeight,[(545,348)(569,348)(569,403)(594,403)]) } Add(Memory,5667517,588,252) { Default=String(HiAsm) AddHint(-18,-27,55,13,Default) } Add(Random,12410166,476,168) { Max=16000000 link(onRandom,13382808:doData,[(712,174)(712,423)(361,423)(361,363)]) } Add(GetDataEx,16308253,469,258) { Angle=3 link(Data,8848516:Result,[(370,263)]) } Add(GetDataEx,11827988,462,245) { Angle=3 link(Data,16556488:Result,[(328,250)]) } Add(InfoTip,14276014,455,126) { Info=#14:цвет случайный| Frame=2 Width=71 Height=102 } Add(InfoTip,7814132,546,182) { Info=#23:надпись постоянная, но |25:выравнивается по середине| Frame=2 Width=134 Height=116 } Add(IntegerArray,6467292,217,35) { IntArray=['0'=17,'1'=35,'2'=18,'3'=-17,'4'=-35,'5'=-18] } Add(IntegerArray,170987,168,35) { IntArray=['0'=35,'1'=18,'2'=-17,'3'=-35,'4'=-18,'5'=17] } Add(ArrayRW,3877581,168,126) { link(onRead,4751720:doOperation,[]) link(Array,170987:Array,[]) } Add(ArrayRW,14988645,217,84) { link(onRead,6096026:doOperation,[]) link(Array,6467292:Array,[]) } Add(Hub,10120291,119,84) { link(onEvent1,14988645:doRead,[]) link(onEvent2,3877581:doRead,[(158,97)(158,132)]) } Add(For,16037419,70,84) { End=5 link(onEvent,10120291:doEvent1,[]) } Add(Math,8848516,364,84) { Op2=50 link(Op2,384266:Data3,[(377,75)(341,75)]) } Add(Math,16556488,322,126) { Op2=50 link(onResult,12410166:doRandom,[(411,132)(411,174)]) link(Op2,384266:Data2,[]) } Add(Math,6096026,287,84) { OpType=2 link(onResult,8848516:doOperation,[]) link(Op2,7059288:Var2,[]) } Add(Math,4751720,259,126) { OpType=2 link(onResult,16556488:doOperation,[]) link(Op2,7059288:Var1,[(272,61)]) } Add(Hub,4213164,294,273) { OutCount=3 link(onEvent1,4172755:doClear,[(326,279)(326,293)]) link(onEvent2,4172755:doRefresh,[]) link(onEvent3,1293224:doWork3,[(312,293)(312,307)(53,307)]) } Add(HubEx,1293224,49,168) { Angle=3 link(onEvent,16037419:doFor,[(53,90)]) } Add(GetDataEx,7059288,294,56) { link(Data,384266:Data1,[(300,26)(327,26)]) } END_SDK Add(ScrollBar,3000692,371,70) { Left=7 Top=28 Width=142 Max=1000 Min=1 Position=100 link(onPosition,5481674:doOperation,[]) } Add(ScrollBar,3951218,469,70) { Left=154 Top=28 Width=156 Max=1000 Position=150 link(onPosition,16650148:doWork3,[(515,76)]) } Add(Math,5481674,413,70) { OpType=2 Op2=0.01 Default=1 link(onResult,10654214:doWork3,[(451,76)]) } Add(HubEx,10654214,447,47) { Angle=2 link(onEvent,4172574:doWork2,[(353,53)(353,181)]) } Add(ScrollBar,16705758,539,68) { Left=322 Top=28 Width=156 Max=1000 Position=150 link(onPosition,16650148:doWork2,[(578,74)(578,53)]) } Add(Label,2735022,301,70) { Left=7 Top=7 Width=430 Height=17 Caption="Расстояние между системами смещение ось X смещение ось Y" } Add(HubEx,16650148,511,47) { Angle=2 link(onEvent,10654214:doWork2,[]) }