Вверх ↑
Ответов: 1536
Рейтинг: 176
#1: 2012-09-17 23:18:45 ЛС | профиль | цитата
Ex_, убрал лишние 5 компонентов:

Add(MainForm,5410808,196,63)
{
link(onCreate,9158934:doWork2,[])
}
Add(Random,16135362,308,77)
{
link(onRandom,10652675:doText,[])
}
Add(CheckBox,12286048,406,133)
{
Left=10
Top=10
Width=65
Caption="Bip if true"
}
Add(Edit,783691,259,112)
{
Left=10
Top=30
Text=""
link(onEnter,6372842:doCompare,[])
}
Add(Label,10652675,357,77)
{
Left=65
Top=35
Width=10
Height=17
Caption="0"
}
Add(If_else,6372842,308,119)
{
link(onTrue,11232787:do,[(474,125)(474,223)])
link(onFalse,8472077:In,[])
link(Op1,16135362:Random,[])
}
Add(Hub,12970639,595,217)
{
InCount=2
OutCount=1
link(onEvent1,9158934:doWork1,[(628,223)(628,66)(263,66)])
}
Add(LineBreak,3069939,553,224)
{
link(Out,12970639:doEvent2,[])
Primary=[8472077,-196,-98]
}
Add(HubEx,9158934,259,77)
{
link(onEvent,16135362:doRandom,[])
}
Add(ChildPanelPoly,11232787,511,217)
{
Childrens=#3:bip|6:silent|
Selected="bip"
link(on,12970639:doEvent1,[])
}
BEGIN_SDK
Add(EditPolyMulti,10071169,21,21)
{
WorkCount=#2:do|5:##add|8:##select|7:##clear|
EventCount=#2:on|
Point(##add)
Point(##select)
Point(##clear)
}
Add(Panel,4453739,35,105)
{
Left=35
Top=105
Visible=1
}
END_SDK
BEGIN_SDK
Add(EditPolyMulti,3072874,21,21)
{
WorkCount=#2:do|5:##add|8:##select|7:##clear|
EventCount=#2:on|
Point(##add)
Point(##select)
Point(##clear)
link(do,3532036:doBeep,[(39,27)(39,62)])
}
Add(Panel,6282821,35,105)
{
Left=35
Top=105
Visible=1
}
Add(Beep,3532036,56,56)
{
Duration=100
link(onBeep,3072874:on,[(204,62)(204,27)])
}
END_SDK
BEGIN_SDK
Add(EditPolyMulti,1003985,21,21)
{
WorkCount=#2:do|5:##add|8:##select|7:##clear|
EventCount=#2:on|
Point(##add)
Point(##select)
Point(##clear)
link(do,1568711:doData,[(28,27)(28,76)])
}
Add(Panel,1598945,35,105)
{
Left=35
Top=105
Visible=1
}
Add(DoData,1568711,35,70)
{
link(onEventData,1003985:on,[(194,76)(194,27)])
}
END_SDK
Add(Button,6567380,273,217)
{
Left=85
Top=10
Caption="Check"
link(onClick,129309:doEvent1,[])
}
Add(Hub,129309,322,217)
{
OutCount=3
link(onEvent1,16213619:In,[(346,223)(346,202)])
link(onEvent2,12353052:doGetString,[])
link(onEvent3,14802449:doData,[])
}
Add(DoData,14802449,441,231)
{
Data=Integer(0)
link(onEventData,11232787:##select,[])
}
Add(LineBreak,7662831,441,273)
{
link(Out,11232787:##clear,[(481,279)(481,244)])
Primary=[16213619,-84,-77]
}
Add(StrList,12353052,392,182)
{
Strings=#6:silent|3:bip|
Point(doGetString)
Point(onGetString)
Point(IdxToSelect)
link(onGetString,11232787:##add,[(439,195)(439,230)])
link(IdxToSelect,12286048:Checked,[])
}

карма: 1
Не так страшна ошибка, как опасность её не заметить.

0