Add(MainForm,2953706,91,98)
{
Width=369
Height=201
Caption="EventFromData - close form"
Point(Close)
}
Add(Gentee,11873484,259,98)
{
WorkPoints=#6:doWork|
EventPoints=#5:onMes|9:##onError|
Code=#9:<example>|9:import ""|1:{|21: onEvent(int, uint)|18: uint ToInt(int)|1:}|0:|25:func int doWork(int data)|1:{|24: onEvent(0, ToInt(50))|11: return 0|1:}|
link(onMes,5379406:doMessage,[])
link(##onError,15474106:doMessage,[(307,111)(307,153)])
}
Add(Button,7939193,196,98)
{
Left=195
Top=95
Data=String(hello)
link(onClick,11873484:doWork,[])
}
Add(Message,5379406,322,98)
{
}
Add(Message,15474106,322,147)
{
}
Требует DLL правда.