Add(MainForm,2953706,371,294)
{
Position=1
}
Add(ChildScrollBox,1000729,490,294)
{
}
BEGIN_SDK
Add(EditMulti,9609029,392,266)
{
Width=370
Height=256
}
Add(ScrollBox,6876221,413,378)
{
Left=117
Top=79
Width=477
Height=446
Align=5
Ctl3D=1
}
Add(Image,2312566,525,378)
{
Top=-2
Width=471
Height=442
Cursor=2
}
END_SDK
моя кривая попытка решения, можно как то правильней?
Add(MainForm,2953706,371,294)
{
Position=1
}
Add(ChildScrollBox,1000729,490,294)
{
}
BEGIN_SDK
Add(EditMulti,9609029,392,266)
{
Width=370
Height=256
}
Add(ScrollBox,6876221,595,385)
{
Left=117
Top=79
Width=720
Height=639
Align=5
Ctl3D=1
}
Add(Image,2312566,441,378)
{
Top=-2
Width=709
Height=628
Cursor=2
Point(onMouseDown)
Point(onMouseUp)
link(onMouseDown,1586198:doWork1,[])
link(onMouseUp,1586198:doWork2,[])
}
Add(MultiElement,1586198,518,385)
{
link(onEvent1,6876221:doHScroll,[])
link(onEvent2,6876221:doVScroll,[])
}
BEGIN_SDK
Add(EditMulti,7358788,406,259)
{
EventCount=2
WorkCount=2
Width=272
Height=193
link(doWork1,10250275:doEvent1,[(427,265)(427,335)])
link(doWork2,10742899:doEvent1,[(417,272)(417,384)])
}
Add(Math,653746,532,378)
{
OpType=1
link(onResult,7358788:onEvent1,[(635,384)(635,265)])
link(Op1,3168110:Value,[(538,370)(496,370)])
link(Op2,5427030:Var2,[])
}
Add(MouseEvent,11916118,539,273)
{
}
Add(Memory,3168110,490,329)
{
Point(Data)
link(Data,5427030:Var1,[(496,320)])
}
Add(GetDataEx,5427030,539,315)
{
link(Data,11916118:MouseX,[])
}
Add(Hub,10250275,448,329)
{
link(onEvent1,3168110:doValue,[])
link(onEvent2,11949507:doValue,[])
}
Add(Math,15055479,539,385)
{
OpType=1
link(onResult,7358788:onEvent2,[(646,391)(646,272)])
link(Op1,11949507:Value,[(545,377)(594,377)])
link(Op2,8352997:Var2,[])
}
Add(Memory,11949507,588,336)
{
Point(Data)
link(Data,8352997:Var3,[(594,320)])
}
Add(Hub,10742899,448,378)
{
link(onEvent1,653746:doOperation,[])
link(onEvent2,15055479:doOperation,[])
}
Add(GetDataEx,8352997,546,315)
{
link(Data,11916118:MouseY,[])
}
END_SDK
END_SDK