Add(Button,13109739,224,77)
{
}
Add(MainForm,4355392,224,126)
{
Position=1
link(onCreate,16058578:doFor,[])
}
Add(ChildPanelEx,6744865,336,140)
{
Mode=1
}
BEGIN_SDK
Add(EditMultiEx,15514217,21,21)
{
WorkCount=#5:##add|
Width=314
VOffset=21
Point(##add)
link(##add,11397104:doEvent1,[])
}
Add(Panel,9836311,280,28)
{
Left=20
Top=50
Width=200
Height=100
Color=-16777213
Visible=1
BorderWidth=2
BevelInner=1
BevelOuter=2
Point(doVisible)
Point(doLeft)
Point(doTop)
Point(Left)
Point(Top)
}
Add(Label,9025160,105,56)
{
Left=20
Top=20
Width=10
Height=17
Caption="0"
}
Add(If_else,5751694,105,161)
{
Type=5
link(onTrue,7370946:doWork1,[])
link(onFalse,7370946:doWork2,[])
link(Op1,9025160:Caption,[])
}
Add(ChanelToIndex,7370946,154,161)
{
link(onIndex,9836311:doVisible,[(256,167)(256,41)])
}
Add(GlobalVarEx,12752682,35,161)
{
Name="Panels"
Point(onValue)
link(onValue,5751694:doCompare,[])
}
Add(Math,3645445,161,42)
{
link(onResult,9836311:doLeft,[])
link(Op2,9836311:Left,[(174,33)(251,33)(251,68)(286,68)])
}
Add(Math,5905448,203,49)
{
link(onResult,9836311:doTop,[])
link(Op2,9836311:Top,[(216,40)(244,40)(244,75)(293,75)])
}
Add(Hub,11397104,56,42)
{
OutCount=3
link(onEvent1,3645445:doOperation,[])
link(onEvent2,5905448:doOperation,[])
link(onEvent3,9025160:doText,[])
}
END_SDK
Add(GlobalVarEx,3253542,336,77)
{
Name="Panels"
Point(onValue)
}
Add(For,16058578,280,140)
{
End=50
link(onEvent,6744865:##add,[])
}
Add(TrackBar,11489675,280,77)
{
Left=14
Top=7
Width=247
Height=23
Align=2
TabOrder=-1
Max=50
link(onPosition,3253542:doValue,[])
}
Ответов: 9906
Рейтинг: 351
|
|||
А еще возможно особо тонкое извращение, с элементом GlobalVarEx:
|
|||
карма: 9 |
|
Редактировалось 8 раз(а), последний 2020-01-06 11:03:41