code_22621.txt
Посмотри,может поймёшь моё направление мысли
------------ Дoбавленo в 22.20:
Заранее
Add(Button,4114039,203,266)
{
Left=195
Top=110
Point(onMouseDown)
Point(Handle)
link(onMouseDown,5361947:doEvent,[(247,279)(247,328)])
}
Add(RadioButton,9457465,105,210)
{
Left=70
Top=75
Caption="on"
link(onSelect,11495423:doData,[])
}
Add(RadioButton,15163161,105,245)
{
Left=70
Top=105
Caption="off"
link(onSelect,1742500:doData,[])
}
Add(MoveWindow,5556424,203,322)
{
link(Handle,4114039:Handle,[])
}
Add(IndexToChanel,5361947,259,322)
{
Point(Index)
link(onEvent1,5556424:doMove,[(303,328)(303,316)(191,316)(191,328)])
link(Index,1608903:GetData,[(265,256)(230,256)])
}
Add(DoData,11495423,154,210)
{
Data=Integer(0)
link(onEventData,5486907:doWork2,[])
}
Add(EventFromData,1608903,224,210)
{
}
Add(DoData,1742500,154,245)
{
Data=Integer(1)
link(onEventData,5486907:doWork3,[(193,251)])
}
Add(HubEx,5486907,189,210)
{
link(onEvent,1608903:doData,[])
}