Вверх ↑
Ответов: 1926
Рейтинг: 172
#1: 2017-03-15 20:23:55 ЛС | профиль | цитата
Вот, можно мышкой таскать, можно колесом перемещать (при нажатом ctrl - по горизонтали)

Add(MainForm,4817610,112,343)
{
Width=405
Point(onMouseWheel)
link(onMouseWheel,1358662:doValue,[])
}
Add(Image,7941498,574,238)
{
Left=50
Width=339
Height=262
Align=5
AutoSize=0
ViewStyle=4
Point(Handle)
link(onClick,2855595:doMove,[(618,244)(618,272)(569,272)(569,307)])
}
Add(Bitmap,5213144,420,112)
{
Point(Width)
Point(Height)
}
Add(PictureStream,5429359,371,112)
{
link(onLoad,5213144:doLoad,[])
}
Add(ChildPanel,3707366,231,112)
{
link(onEvent1,11820223:doExecute,[])
link(onEvent2,1585584:doWork2,[(270,125)(270,181)])
}
BEGIN_SDK
Add(EditMulti,4109492,21,21)
{
EventCount=2
VarCount=1
link(Var1,11335516:Result,[(27,173)(181,173)])
}
Add(Panel,14820532,35,105)
{
Width=50
Height=260
Align=1
}
Add(Button,13743590,119,63)
{
Left=5
Top=5
Width=40
Caption="Open"
link(onClick,4109492:onEvent1,[(158,69)(158,27)])
}
Add(ScrollBar,8815610,119,133)
{
Left=15
Top=65
Width=15
Height=170
Max=1000
Min=-1000
Page=100
Kind=1
link(onPosition,11335516:doCalc,[])
}
Add(MathParse,11335516,175,133)
{
DataCount=1
MathStr="10^(-%1/1000)"
Default=1
link(onResult,4109492:onEvent2,[(214,139)(214,34)])
}
Add(Label,5255694,63,56)
{
Left=17
Top=40
Width=14
Height=24
Font=[MS Sans Serif,12,1,0,1]
Caption="+"
}
Add(Label,7447257,70,63)
{
Left=17
Top=235
Width=10
Height=24
Font=[MS Sans Serif,12,1,0,1]
Caption="-"
}
END_SDK
Add(ODialog,11820223,280,112)
{
link(onExecute,7488654:doEvent1,[])
}
Add(Hub,7488654,329,112)
{
link(onEvent1,5429359:doLoad,[])
link(onEvent2,1585584:doWork1,[(354,125)])
}
Add(Resize,15711622,420,238)
{
link(onResult,7941498:doLoad,[])
link(Bitmap,5213144:Bitmap,[])
link(Width,15510922:Result,[(433,215)(391,215)])
link(Height,2821588:Result,[])
}
Add(Math,15510922,385,175)
{
OpType=2
ResultType=0
link(onResult,2821588:doOperation,[])
link(Op1,5213144:Width,[(391,152)(433,152)])
link(Op2,6434891:Var2,[])
}
Add(Math,2821588,434,175)
{
OpType=2
ResultType=0
link(onResult,15711622:doResize,[(472,181)(472,224)(410,224)(410,244)])
link(Op1,5213144:Height,[])
link(Op2,6434891:Var3,[(447,159)])
}
Add(GetDataEx,6434891,392,154)
{
Angle=3
link(Data,3707366:Var1,[(237,159)])
}
Add(HubEx,1585584,350,175)
{
link(onEvent,15510922:doOperation,[])
}
Add(MoveWindow,2855595,581,301)
{
link(Handle,7662938:Var2,[])
}
Add(PosWindow,9184089,427,357)
{
link(Handle,7662938:Var1,[(433,285)])
}
Add(GetDataEx,7662938,581,280)
{
link(Data,7941498:Handle,[])
}
Add(Math,1727059,371,364)
{
ResultType=0
link(onResult,9184089:doTop,[])
link(Op1,16114928:Var2,[])
link(Op2,14332407:Var,[])
}
Add(LineBreak,9669118,434,399)
{
Type=1
link(Data,9184089:CurrentTop,[])
Primary=[14332407,-56,-63]
}
Add(Memory,1358662,161,364)
{
link(onData,11149153:doReadKey,[])
}
Add(Keyboard,11149153,210,364)
{
Key=17
link(onReadKey,1247340:doEvent,[])
}
Add(IndexToChanel,1247340,252,364)
{
link(onEvent1,1727059:doOperation,[])
link(onEvent2,664776:doOperation,[(328,377)(328,433)])
}
Add(LineBreak,15654931,161,406)
{
Type=1
link(Data,1358662:Value,[])
Primary=[13200439,210,-105]
}
Add(Math,664776,357,427)
{
link(onResult,9184089:doLeft,[(412,433)(412,363)])
link(Op1,16114928:Var1,[(363,327)])
link(Op2,9184089:CurrentLeft,[(370,408)(433,408)])
}
Add(GetDataEx,16114928,371,322)
{
link(Data,13200439:Var,[])
}
карма: 9
0