------------ Дoбавленo в 11.17:
Kazbek17,а почему у других тогда работает
------------ Дoбавленo в 11.20:
ещё демка на тему и так тоже можно 8-)
Add(MainForm,2953706,126,98)
{
Width=376
Height=407
Color=-16777216
SavePosName="main.ini"
Point(PHandle)
link(onCreate,12715574:doEvent1,[(173,118)(173,167)])
}
Add(ReBar,7014866,427,161)
{
Count=7
ListBandText=#4:demo|4:demo|4:demo|4:demo|4:demo|0:|
FileName="seting1.ini"
link(Handle1,14047699:Var3,[(433,153)])
link(Handle2,6873052:Var1,[])
link(Handle3,6873052:Var2,[])
link(Handle4,6873052:Var3,[])
link(Handle5,6873052:Var4,[])
link(Handle6,6873052:Var5,[])
link(Handle7,6873052:Var6,[])
}
Add(ReBar,3267969,427,266)
{
Align=1
Count=6
ListBandText=#0:|0:|
FileName="seting2.ini"
link(Handle1,14047699:Var2,[(433,259)(230,259)])
link(Handle2,4432410:Var1,[])
link(Handle3,4432410:Var2,[])
link(Handle4,4432410:Var3,[])
link(Handle5,4432410:Var4,[])
link(Handle6,4432410:Var5,[])
}
Add(ChildPanel,4432410,434,210)
{
}
BEGIN_SDK
Add(EditMulti,10054122,21,21)
{
VarCount=5
Width=475
link(Var1,2270525:PHandle,[(27,186)(118,186)])
link(Var2,5552953:PHandle,[(34,186)(181,186)])
link(Var3,13460937:PHandle,[(41,186)(223,186)])
link(Var4,293326:PHandle,[(48,186)(286,186)])
link(Var5,16507127:PHandle,[(55,186)(335,186)])
}
Add(Panel,6022796,35,105)
{
Left=25
Top=275
Width=41
Height=35
Visible=1
}
Add(ProgressBar,2270525,105,119)
{
Left=20
Top=20
Width=175
Point(PHandle)
}
Add(DriveBox,5552953,161,119)
{
Left=20
Top=55
Width=175
Height=21
Point(PHandle)
}
Add(DatePicker,13460937,217,119)
{
Left=20
Top=85
Width=175
Height=21
Point(PHandle)
}
Add(Edit,293326,273,119)
{
Left=20
Top=120
Width=175
Point(PHandle)
}
Add(TrackBar,16507127,322,119)
{
Left=20
Top=155
Width=175
Max=100
TickCount=5
Point(PHandle)
link(onPosition,2270525:doPosition,[(367,125)(367,92)(93,92)(93,125)])
}
END_SDK
Add(GetDataEx,14047699,224,148)
{
Angle=3
link(Data,2953706:PHandle,[(132,153)])
}
Add(Hub,12715574,189,161)
{
link(onEvent1,7014866:doCreateReBar,[])
link(onEvent2,3267969:doCreateReBar,[(217,174)(217,272)])
}
Add(Menu,9681684,252,196)
{
Menu=#4:File|1:(|10:Save Rebar|4:Open|5:Print|1:-|5:Close|1:)|6:Seting|1:(|9:View disk|10:View color|13:View trackBar|1:)|4:Help|1:(|4:Abot|1:)|
Point(onSelectNum)
link(onSelectNum,5803222:doCompare,[])
}
Add(Memo,1856798,203,98)
{
Width=368
Height=373
Align=5
Color=-16777201
}
Add(ChildPanel,6873052,434,105)
{
}
BEGIN_SDK
Add(EditMulti,13002874,21,21)
{
EventCount=1
VarCount=6
Width=475
link(Var1,6985986:PHandle,[(27,186)(118,186)])
link(Var2,6289271:PHandle,[(34,186)(181,186)])
link(Var3,15630835:PHandle,[(41,186)(223,186)])
link(Var4,819558:PHandle,[(48,186)(286,186)])
link(Var5,1770938:PHandle,[(55,186)(335,186)])
link(Var6,12451344:PHandle,[(62,186)(391,186)])
}
Add(Panel,16193240,35,105)
{
Left=25
Top=275
Width=41
Height=35
Visible=1
}
Add(ProgressBar,6985986,105,119)
{
Left=20
Top=20
Width=175
Point(PHandle)
}
Add(DriveBox,6289271,161,119)
{
Left=20
Top=55
Width=175
Height=21
Point(PHandle)
}
Add(DatePicker,15630835,217,119)
{
Left=20
Top=85
Width=175
Height=21
Point(PHandle)
}
Add(Edit,819558,273,119)
{
Left=20
Top=120
Width=175
Point(PHandle)
}
Add(TrackBar,1770938,322,119)
{
Left=20
Top=155
Width=175
Max=100
TickCount=5
Point(PHandle)
link(onPosition,6985986:doPosition,[(367,125)(367,92)(93,92)(93,125)])
}
Add(Button,12451344,385,119)
{
Left=385
Top=125
Data=Integer(1)
Point(PHandle)
}
END_SDK
Add(Hub,298689,357,203)
{
link(onEvent1,7014866:doSaveBand,[(399,209)(399,174)])
link(onEvent2,3267969:doSaveBand,[(399,216)(399,279)])
}
Add(If_else,5803222,308,203)
{
Op2=Integer(1)
link(onTrue,298689:doEvent1,[])
}
Add(StyleXP,11933910,252,98)
{
}