Вверх ↑
Ответов: 9906
Рейтинг: 351
#1: 2006-02-12 02:07:59 ЛС | профиль | цитата
Например так:
[code:1]Add(MainForm,9875691,56,21) {
Left=20
Top=105
link(onResize,5061186:doOperation,[(98,55)(98,106)(46,106)(46,153)])
}
Add(SizeWindow,14094716,56,84)
{
link(Handle,9875691:Handle,[])
}
Add(PosWindow,8280929,294,196)
{
link(Handle,4444874:Var3,[(300,128)])
}
Add(Button,6115036,245,84)
{
Left=80
Top=70
Width=200
Height=30
}
Add(MathParse,16646113,147,196)
{
DataCount=1
MathStr="%1/2-4"
ResultType=0
link(onResult,8280929:doLeft,[])
}
Add(SizeWindow,11437447,245,147)
{
link(Handle,4444874:Var2,[])
}
Add(GetDataEx,4444874,238,119)
{
link(Data,6115036:Handle,[])
}
Add(MathParse,4315691,245,203)
{
DataCount=1
MathStr="%1/2-17"
ResultType=0
link(onResult,8280929:doTop,[])
}
Add(Hub,14149749,98,147)
{
OutCount=3
link(onEvent1,11437447:doWidth,[])
link(onEvent2,1126214:doOperation,[])
link(onEvent3,16646113:doCalc,[(138,167)(138,202)])
}
Add(Hub,4665553,196,154)
{
link(onEvent1,11437447:doHeight,[])
link(onEvent2,4315691:doCalc,[(236,167)(236,209)])
}
Add(Math,1126214,147,154)
{
OpType=3
Op2=2
ResultType=0
link(onResult,4665553:doEvent1,[])
link(Op1,14094716:CurrentHeight,[(153,135)(69,135)])
}
Add(Math,5061186,56,147)
{
OpType=3
Op2=2
ResultType=0
link(onResult,14149749:doEvent1,[])
link(Op1,14094716:CurrentWidth,[])
}[/code:1]
карма: 9

0