code_1884.txt
Теперь другая проблемма.
Мне нужен вызов события по условию с разными параметрами,
как зделать чтоб переключать их тоже с помощью радиокнопок?
Add(MainForm,10227276,21,105)
{
Left=20
Top=105
Width=308
Height=337
}
Add(Length,4846545,252,98)
{
link(onLength,2303594:doWork1,[(296,104)(296,136)(247,136)(247,169)])
}
Add(MultiElement,2303594,259,163)
{
link(Data1,4846545:Result,[(265,147)(258,147)])
}
BEGIN_SDK
Add(EditMulti,13156714,6,6)
{
EventCount=2
WorkCount=6
DataCount=2
Width=349
Height=487
link(doWork1,12981584:doCompare,[(104,12)(104,132)])
link(doWork2,3743040:doCompare,[(104,19)(104,195)])
link(doWork3,10348600:doCompare,[(104,26)(104,258)])
link(doWork4,10559329:doCompare,[(104,33)(104,321)])
link(doWork5,11846868:doCompare,[(104,40)(104,384)])
link(doWork6,6383684:doCompare,[(104,47)(104,433)])
}
Add(If_else,12981584,203,126)
{
link(onTrue,410752:doEvent1,[(265,132)(265,125)])
link(onFalse,951568:doEvent1,[(265,139)(265,202)])
link(Op1,9400952:Data1,[(209,104)(48,104)])
link(Op2,8778388:Data1,[(216,104)(153,104)])
}
Add(If_else,3743040,203,189)
{
Type=1
link(onTrue,410752:doEvent2,[(265,195)(265,132)])
link(onFalse,951568:doEvent2,[(265,202)(265,209)])
link(Op1,9400952:Data2,[(209,135)(55,135)])
link(Op2,8778388:Data2,[(216,135)(160,135)])
}
Add(If_else,10348600,203,252)
{
Type=2
link(onTrue,410752:doEvent3,[(265,258)(265,139)])
link(onFalse,951568:doEvent3,[(265,265)(265,216)])
link(Op1,9400952:Data3,[(209,166)(62,166)])
link(Op2,8778388:Data3,[(216,166)(167,166)])
}
Add(If_else,10559329,203,315)
{
Type=3
link(onTrue,410752:doEvent4,[(265,321)(265,146)])
link(onFalse,951568:doEvent4,[(265,328)(265,223)])
link(Op1,9400952:Data4,[(209,198)(69,198)])
link(Op2,8778388:Data4,[(216,198)(174,198)])
}
Add(If_else,11846868,203,378)
{
Type=4
link(onTrue,410752:doEvent5,[(265,384)(265,153)])
link(onFalse,951568:doEvent5,[(265,391)(265,230)])
link(Op1,9400952:Data5,[(209,230)(76,230)])
link(Op2,8778388:Data5,[(216,230)(181,230)])
}
Add(If_else,6383684,203,427)
{
Type=5
link(onTrue,410752:doEvent6,[(265,433)(265,160)])
link(onFalse,951568:doEvent6,[(265,440)(265,237)])
link(Op1,9400952:Data6,[(209,254)(83,254)])
link(Op2,8778388:Data6,[(216,254)(188,254)])
}
Add(GetData,9400952,42,49)
{
Count=6
link(Data,13156714:Data1,[(48,35)(12,35)])
}
Add(GetData,8778388,147,49)
{
Count=6
link(Data,13156714:Data2,[(153,27)(19,27)])
}
Add(Hub,410752,294,119)
{
InCount=6
OutCount=1
link(onEvent1,13156714:onEvent1,[(340,125)(340,12)])
}
Add(Hub,951568,294,196)
{
InCount=6
OutCount=1
link(onEvent1,13156714:onEvent2,[(340,202)(340,19)])
}
END_SDK
Add(RadioButton,12528861,91,7)
{
Left=10
Top=20
Caption="="
link(onSelect,7683664:doWork1,[(142,13)(142,132)])
}
Add(RadioButton,2238913,91,56)
{
Left=10
Top=60
Caption="<"
link(onSelect,7683664:doWork2,[(142,62)(142,139)])
}
Add(RadioButton,16648297,98,112)
{
Left=10
Top=110
Caption=">"
link(onSelect,7683664:doWork3,[(146,118)(146,146)])
}
Add(RadioButton,6084787,98,168)
{
Left=10
Top=165
Caption="<="
link(onSelect,7683664:doWork4,[(146,174)(146,153)])
}
Add(RadioButton,1461562,98,224)
{
Left=15
Top=210
Caption=">="
link(onSelect,7683664:doWork5,[(146,230)(146,160)])
}
Add(RadioButton,13161280,98,287)
{
Left=10
Top=255
Caption="<>"
link(onSelect,7683664:doWork6,[(146,293)(146,167)])
}
Add(ChanelToIndex,7683664,161,126)
{
Count=6
}