Tad писал(а):
но "внутри" у TabControl ничего нет полоска
Add(MainForm,2969037,287,126)
{
Left=20
Top=105
Width=781
Height=482
}
Add(TabControl,8669777,672,238)
{
Left=265
Top=65
Width=500
Height=33
Bitmaps=[]
Point(CurTabIndx)
Point(Index)
Point(PageTab)
Point(onMouseDown)
Point(PageDelete)
link(onChange,3990311:doOperation,[])
link(Index,9145336:Value,[(685,187)(573,187)])
}
Add(Counter,1550486,420,182)
{
Default=-1
link(onNext,5809450:doData,[])
}
Add(Hub,9374190,504,182)
{
OutCount=4
link(onEvent1,7186553:doWork2,[])
link(onEvent2,8669777:PageInsert,[(570,195)(570,244)])
link(onEvent3,7100088:doWork2,[(553,202)(553,251)])
link(onEvent4,6660980:doEvent1,[(761,209)(761,188)])
}
Add(Memory,9145336,567,147)
{
}
Add(Hub,1427666,525,315)
{
OutCount=3
link(onEvent1,7186553:doWork3,[(529,321)])
link(onEvent2,8669777:PageDelete,[(552,328)(552,258)])
link(onEvent3,3485056:doOperation,[(557,335)(557,321)])
}
Add(Memory,5353234,483,315)
{
Point(Data)
link(onData,1427666:doEvent1,[])
link(Data,8669777:CurTabIndx,[(489,274)(685,274)])
}
Add(Math,3485056,567,315)
{
OpType=1
Op2=1
ResultType=0
link(onResult,7100088:doWork3,[(606,321)])
link(Op1,5353234:Value,[(573,354)(489,354)])
}
Add(HubEx,7100088,602,245)
{
link(onEvent,8669777:PageTab,[])
}
Add(HubEx,7186553,525,182)
{
link(onEvent,9145336:doValue,[(542,188)(542,153)])
}
Add(DoData,5809450,462,182)
{
link(onEventData,9374190:doEvent1,[])
link(Data,1594952:Var1,[(468,166)(403,166)(403,298)(314,298)])
}
Add(Math,3990311,791,238)
{
OpType=1
link(onResult,1032648:doOperation,[])
link(Op1,8669777:TabCount,[(797,219)(762,219)(762,292)(678,292)])
}
Add(Math,1032648,833,238)
{
OpType=1
Op2=1
link(onResult,5377341:doEvent1,[])
}
Add(InfoTip,2984836,413,126)
{
Info=#18:Добавляет вкаладку|
Width=197
Height=95
}
Add(InfoTip,7077650,413,301)
{
Info=#16:Удаляет вкаладку|
VAlign=2
Width=197
Height=74
}
Add(InfoTip,9527116,770,203)
{
Info=#17:Добавляет контент|
Width=113
Height=81
}
Add(ChildPanelEx,573322,959,196)
{
@Hint=#15:Контент вкладок|
Mode=1
}
BEGIN_SDK
Add(EditMultiEx,7459147,21,21)
{
WorkCount=#5:##add|8:##select|8:##delete|
Point(##add)
Point(##select)
Point(##delete)
link(##select,8618173:doBringToFront,[(39,34)(39,111)])
}
Add(Panel,8618173,56,98)
{
Left=265
Top=95
Width=499
Height=348
BevelOuter=1
Point(doBringToFront)
}
Add(Edit,12730068,168,98)
{
Left=35
Top=45
}
END_SDK
Add(ChildPanelEx,861756,959,238)
{
@Hint=#12:Боковое меню|
Mode=1
}
BEGIN_SDK
Add(EditMultiEx,10749909,21,21)
{
WorkCount=#5:##add|8:##select|8:##delete|
Width=1028
Height=389
Point(##add)
Point(##select)
Point(##delete)
link(##select,12629976:doBringToFront,[(39,34)(39,111)])
}
Add(Panel,12629976,56,98)
{
Left=20
Top=70
Width=234
Height=373
BevelOuter=1
Point(doBringToFront)
}
Add(ListBox,97776,462,252)
{
Left=10
Top=35
Width=215
Height=335
Color=-16777192
Font=[Palatino Linotype,12,6,0,204]
Cursor=2
Ctl3D=1
Strings=#10:Фантастика|15:Постапокалипсис|9:Мелодрама|11:Приключения|7:Комедия|
Point(String)
Point(Index)
link(Str,13047034:Var1,[(468,191)(531,191)])
}
Add(StrCat,14228161,406,322)
{
link(onStrCat,97776:doDelete,[(448,328)(448,272)])
link(Str1,97776:Index,[(412,307)(496,307)])
}
Add(Button,8660966,484,141)
{
Left=85
Top=10
Width=65
Caption="Добавить"
link(onClick,13047034:doWork1,[(521,147)(521,146)])
}
Add(Button,16375953,484,205)
{
Left=155
Top=10
Width=70
Caption="Удалить"
link(onClick,2296540:doWork1,[(521,211)(521,209)])
}
Add(ChildForm,13047034,525,140)
{
link(onEvent1,97776:doAdd,[(569,146)(569,181)(451,181)(451,258)])
}
BEGIN_SDK
Add(EditMulti,415993,21,21)
{
EventCount=1
WorkCount=1
VarCount=1
link(doWork1,15062958:doVisible,[(39,27)(39,69)])
link(Var1,13087955:Text,[(27,202)(279,202)])
}
Add(MainForm,15062958,252,35)
{
Left=35
Top=105
Width=258
Height=113
Visible=1
Caption="Добавление категории"
Point(doVisible)
}
Add(Edit,13087955,273,105)
{
Left=10
Top=20
Width=220
Text="Новая категория"
}
Add(Button,14750580,42,91)
{
Left=120
Top=45
Width=65
Caption="Добавить"
link(onClick,4503807:doEvent1,[])
}
Add(Hub,4503807,105,91)
{
link(onEvent1,415993:onEvent1,[(314,97)(314,27)])
link(onEvent2,5018088:doEvent1,[(126,104)(126,132)])
}
Add(Button,3147441,45,143)
{
Left=40
Top=45
Width=70
Caption="Отмена"
link(onClick,5018088:doEvent2,[(125,149)(125,139)])
}
Add(Hub,5018088,154,126)
{
InCount=2
OutCount=1
link(onEvent1,15062958:doClose,[(199,132)(199,62)])
}
END_SDK
Add(ChildForm,2296540,525,203)
{
link(onEvent1,14228161:doStrCat,[(569,209)(569,243)(398,243)(398,328)])
}
BEGIN_SDK
Add(EditMulti,9624250,21,21)
{
EventCount=1
WorkCount=1
link(doWork1,3057472:doVisible,[(39,27)(39,167)])
}
Add(MainForm,3057472,287,133)
{
Left=35
Top=105
Width=271
Height=110
Visible=1
Caption="Дочерняя форма"
Point(doVisible)
}
Add(Button,14254700,182,63)
{
Left=175
Top=45
Width=70
Caption="Удалить"
link(onClick,14171333:doEvent1,[])
}
Add(Label,16050793,504,84)
{
Left=30
Top=15
Width=189
Height=17
Caption="Действительно удалить категорию?"
}
Add(Button,6992909,80,66)
{
Left=100
Top=45
Width=70
Caption="Отмена"
link(onClick,6484721:doEvent2,[(178,72)(178,153)])
}
Add(Hub,14171333,252,63)
{
InCount=2
link(onEvent1,9624250:onEvent1,[(294,69)(294,27)])
link(onEvent2,6484721:doEvent1,[(278,76)(278,111)(233,111)(233,146)])
}
Add(Hub,6484721,245,140)
{
InCount=2
link(onEvent2,3057472:doClose,[(273,153)(273,160)])
}
END_SDK
END_SDK
Add(Hub,6660980,910,182)
{
link(onEvent1,573322:##add,[(950,188)(950,202)])
link(onEvent2,861756:##add,[(944,195)(944,244)])
}
Add(Hub,5377341,910,238)
{
link(onEvent1,573322:##select,[(936,244)(936,209)])
link(onEvent2,861756:##select,[])
}
Add(ChildPanel,1594952,308,238)
{
link(onEvent1,1550486:doNext,[(392,244)(392,188)])
link(onEvent2,5353234:doValue,[(391,251)(391,321)])
}
BEGIN_SDK
Add(EditMulti,7120807,21,21)
{
EventCount=2
VarCount=1
link(Var1,11015506:Text,[(27,175)(104,175)])
}
Add(Panel,2928567,35,105)
{
Width=765
Height=60
Align=2
Color=-16777214
}
Add(Button,15832728,154,56)
{
Left=15
Top=10
Width=65
Caption="Добавить"
link(onClick,7120807:onEvent1,[(254,62)(254,27)])
}
Add(Button,6519007,154,168)
{
Left=360
Top=10
Width=60
Caption="Удалить"
link(onClick,7120807:onEvent2,[(265,174)(265,34)])
}
Add(Edit,11015506,98,98)
{
Left=90
Top=10
Width=205
Text=""
}
END_SDK
Add(InfoTip,1781710,287,217)
{
Info=#3:TOP|
Font=[Arial Rounded MT Bold,12,0,255,0]
Frame=2
Width=78
Height=95
}
Add(InfoTip,13047772,651,140)
{
Info=#6:CLIENT|
Font=[Arial Rounded MT Bold,12,0,255,0]
Frame=2
Width=78
Height=172
}
Add(InfoTip,14986232,952,231)
{
Info=#4:LEFT|
Font=[Arial Rounded MT Bold,12,0,255,0]
Frame=2
HAlign=2
Width=85
Height=46
Margin=5
}