велосипедисты
Add(MainForm,11711561,434,49)
{
Width=184
Height=200
BorderStyle=3
Position=1
Point(Handle)
Point(Left)
Point(Top)
Point(onMove)
Point(doHeight)
link(onCreate,920962:doCalc,[(490,69)(490,188)])
link(onMove,10596629:doWork1,[(478,76)(478,165)(326,165)])
}
Add(ListBox,15837332,511,112)
{
Width=168
Height=152
Align=5
Font=[MS Sans Serif,10,0,0,1]
Name="form"
Strings=#5:line1|5:line2|5:line3|5:line4|5:line5|5:line6|5:line7|5:line8|5:line9|6:line10|6:line11|6:line12|6:line13|6:line14|0:|
Point(Width)
Point(MouseY)
Point(String)
Point(Index)
link(onClick,13240540:doEvent1,[(575,125)(575,181)(289,181)(289,237)])
}
Add(Hub,11888096,343,231)
{
OutCount=3
link(onEvent2,5930408:doCalc,[])
}
Add(Message,3519927,742,126)
{
}
Add(DoData,2557340,336,273)
{
Data=Integer(1)
link(onEventData,14557721:doEvent1,[(394,279)(394,293)])
}
Add(MathParse,5930408,441,238)
{
MathStr="%1*16"
link(onResult,5551153:doEvent1,[])
link(X1,15837332:Index,[(447,208)(559,208)])
}
Add(MathParse,920962,504,182)
{
DataCount=1
MathStr="(%1>9)*(%1*16 + 40) + (%1<=9)*200"
link(onResult,11711561:doHeight,[(548,188)(548,146)(422,146)(422,83)])
link(X1,15837332:Count,[(510,173)(524,173)])
}
Add(Hub,13240540,301,231)
{
link(onEvent1,10596629:doWork2,[])
link(onEvent2,2557340:doData,[(325,244)(325,279)])
}
Add(HubEx,10596629,322,231)
{
link(onEvent,11888096:doEvent1,[])
}
Add(Hub,5551153,504,238)
{
link(onEvent1,6407362:doTop,[(564,244)(564,176)])
link(onEvent2,2422572:doTop,[(550,251)(550,288)])
}
Add(Hub,14557721,420,287)
{
link(onEvent1,6407362:doVisible,[(522,293)(522,183)])
link(onEvent2,2422572:doVisible,[(508,300)(508,295)])
}
Add(GetDataEx,10904761,567,203)
{
link(Data,15837332:String,[(573,194)(552,194)])
}
Add(Button,6407362,588,163)
{
Left=140
Width=20
Visible=1
TabOrder=-1
Caption="R"
Point(doCaption)
Point(doTop)
Point(doVisible)
link(onClick,11020844:doWork2,[])
}
Add(DoData,14347203,665,126)
{
link(onEventData,3519927:doMessage,[])
link(Data,10904761:Var2,[(671,121)(618,121)(618,218)(573,218)])
}
Add(Button,2422572,581,275)
{
Left=115
Width=20
Visible=1
TabOrder=-1
Caption="L"
Point(doCaption)
Point(doTop)
Point(doVisible)
link(onClick,11020844:doWork3,[(650,281)])
}
Add(HubEx,11020844,646,163)
{
Angle=3
link(onEvent,14347203:doData,[(650,132)])
}
--- Добавлено в 2017-12-08 01:43:12
Tad, аналогичное поведение кнопок. после установки позиции положения где нужно опять в угол.