Вверх ↑
Ответов: 632
Рейтинг: 4
#1: 2018-08-17 15:24:35 ЛС | профиль | цитата

Add(MainForm,2953706,21,105)
{
Width=475
Height=372
}
Add(ScrollBar,5166989,280,252)
{
Width=20
Height=314
Align=1
Max=0
Page=1
Kind=1
Point(doMax)
Point(doVisible)
link(onPosition,9058141:doEvent3,[(320,258)(320,272)])
}
Add(Img_Text,5956560,609,322)
{
Point(Y)
Point(X)
Point(doFont)
link(onDraw,13187453:doRefresh,[(695,328)(695,286)])
link(Bitmap,13187453:ImageBitmap,[(615,310)(762,310)])
link(Text,3811984:Item,[(622,306)(426,306)])
link(Y,15784838:Result,[(629,313)(510,313)])
link(X,3767154:Value,[(636,268)(580,268)])
}
Add(ArrayRW,3811984,420,252)
{
link(onRead,14862272:doEvent1,[(506,258)(506,272)])
link(Array,452745:Var2,[(426,160)(440,160)])
}
Add(Bitmap,2124743,658,252)
{
HWidth=100
HHeight=100
FillColor=-16777211
Point(doCreate)
Point(onCreate)
Point(HWidth)
Point(HHeight)
Point(FillColor)
link(onCreate,4333839:doEvent1,[(704,258)(704,265)])
link(HWidth,452745:Var3,[(664,160)(447,160)])
link(HHeight,452745:Var4,[(671,160)(454,160)])
}
Add(Hub,4333839,714,259)
{
link(onEvent1,13187453:doClear,[(746,265)(746,279)])
link(onEvent2,13187453:doLoad,[])
}
Add(For,1150127,371,252)
{
link(onEvent,3811984:doRead,[])
link(Start,5166989:Position,[(377,222)(307,222)(307,299)(286,299)])
link(End,10476752:Result,[(384,215)(335,215)])
}
Add(Math,10476752,329,154)
{
OpType=1
Op2=1
link(onResult,5166989:doMax,[(373,160)(373,212)(268,212)(268,265)])
link(Op1,452745:Var1,[(335,110)(433,110)])
}
Add(Hub,15174536,301,182)
{
link(onEvent1,10476752:doOperation,[(322,188)(322,160)])
link(onEvent2,9058141:doEvent1,[(322,195)(322,258)])
}
Add(Math,15784838,504,280)
{
OpType=2
Op2=10
link(Op1,11891445:Count,[(510,264)(503,264)])
}
Add(Memory,3767154,574,203)
{
Default=Integer(5)
}
Add(Hub,9058141,329,252)
{
InCount=3
OutCount=4
link(onEvent1,4119822:doClear,[(417,258)(417,363)])
link(onEvent2,7961608:doData,[(355,265)(355,237)(331,237)(331,209)])
link(onEvent3,2124743:doCreate,[])
link(onEvent4,1150127:doFor,[(357,279)(357,258)])
}
Add(CounterEx,11891445,497,217)
{
Max=999999999
Point(doValue)
}
Add(Hub,14862272,462,266)
{
OutCount=4
link(onEvent1,11891445:doNext,[(488,272)(488,248)(464,248)(464,223)])
link(onEvent2,15784838:doOperation,[(490,279)(490,286)])
link(onEvent3,5956560:doDraw,[(539,286)(539,328)])
link(onEvent4,15250602:doLength,[(488,293)(488,335)(443,335)(443,377)])
}
Add(DoData,7961608,343,203)
{
Data=Integer(-1)
link(onEventData,11891445:doValue,[(459,209)(459,230)])
}
Add(ScrollBar,2666991,266,322)
{
Top=314
Width=459
Height=20
Align=4
Max=0
Page=1
Point(doVisible)
Point(doMax)
Point(doPage)
link(onPosition,4125396:doStrCat,[])
}
Add(If_else,9654010,518,420)
{
Type=3
link(onFalse,4788407:doEvent1,[])
link(Op1,1118190:Var3,[(524,412)(496,394)(480,394)(480,411)])
link(Op2,13176094:Var2,[])
}
Add(Memory,4119822,539,350)
{
Default=Integer(0)
Point(Data)
link(Data,1118190:Var1,[(545,338)(452,338)(452,411)])
}
Add(Length,15250602,455,371)
{
link(onLength,9654010:doCompare,[(503,377)(503,426)])
}
Add(Hub,4788407,581,427)
{
OutCount=3
link(onEvent1,4119822:doValue,[(607,433)(607,395)(527,395)(527,356)])
link(onEvent2,8756151:doData,[])
link(onEvent3,12926085:doCalc,[(602,447)(602,496)])
}
Add(Hub,2335025,350,322)
{
link(onEvent1,3767154:doValue,[(453,328)(453,209)])
link(onEvent2,9058141:doEvent2,[(376,335)(376,300)(317,300)(317,265)])
}
Add(StrCat,4125396,308,322)
{
Str1="-"
link(onStrCat,2335025:doEvent1,[])
}
Add(DoData,10419143,630,385)
{
link(onEventData,3840852:doValue,[])
}
Add(GetDataEx,1118190,455,406)
{
link(Data,15250602:Result,[])
}
Add(GetDataEx,13176094,525,406)
{
link(Data,4119822:Value,[(531,401)(545,401)])
}
Add(Memory,3840852,693,385)
{
Default=Integer(8)
}
Add(DoData,8756151,623,434)
{
link(onEventData,2666991:doPage,[(667,440)(667,394)(254,394)(254,349)])
link(Data,3430233:Var1,[(629,426)])
}
Add(MathParse,12926085,609,490)
{
MathStr="(%1*%2)"
link(onResult,2666991:doMax,[(653,496)(653,419)(254,419)(254,342)])
link(X1,13176094:Var1,[(615,458)(522,458)(522,411)])
link(X2,3430233:Var2,[(622,467)(678,467)])
}
Add(GetDataEx,3430233,672,421)
{
Angle=1
link(Data,3840852:Value,[(699,426)])
}
Add(Hub,9482353,567,329)
{
link(onEvent1,10419143:doData,[(605,335)(605,391)])
link(onEvent2,5956560:doFont,[(595,342)(595,335)])
}
Add(Image,13187453,756,266)
{
Left=20
Width=439
Height=314
Align=5
Color=-16777211
ViewStyle=4
Point(doRefresh)
Point(doVisible)
link(Bitmap,2124743:Bitmap,[(762,250)(699,250)(699,292)(664,292)])
}
Add(ChildForm,452745,427,35)
{
link(onEvent1,5298686:doTimer,[])
}
BEGIN_SDK
Add(EditMulti,1069451,21,21)
{
EventCount=1
VarCount=4
link(Var1,14708022:Count,[(27,168)(118,168)])
link(Var2,14708022:Array,[(34,168)(125,168)])
link(Var3,14708022:Width,[(41,168)(132,168)])
link(Var4,14708022:Height,[(48,168)(139,168)])
}
Add(MainForm,1540266,42,105)
{
Left=35
Top=105
Width=434
Height=327
Position=1
}
Add(Memo,14708022,105,70)
{
Width=418
Height=289
Align=5
Strings=#111:111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110|61:2222222222222222222222222222222222222222222222222222222222222|37:4444444444444444444444444333333333333|13:5555555555555|9:333333333|14:22222222222222|11:11111111111|12:444444444444|12:333333333333|35:cjkdjkjdlcddddddddddddddddddddddddd|25:kkkkkkkkkkkkkkkkkkkkkkkkk|35:00000000000000000000000000000000009|19:9999999999999999999|
ScrollBars=3
Point(Width)
Point(Height)
link(onChange,1069451:onEvent1,[(232,76)(232,27)])
}
END_SDK
Add(Timer,5298686,476,35)
{
AutoStop=1
link(onTimer,15174536:doEvent1,[(520,41)(520,97)(247,97)(247,153)(287,153)(287,188)])
}

Как вычислить точный размер ScrollBar Horizontal и желательно Vertical.
карма: 0

0