Вверх ↑
Разработчик
Ответов: 26113
Рейтинг: 2126
#1: 2016-09-10 12:16:20 ЛС | профиль | цитата
Tad писал(а):
Дай пример с ChildPanelPoly


Схема


Add(MainForm,2953706,63,112)
{
Width=454
link(onCreate,6481724:doEnum,[])
}
Add(ChildPanelPoly,3097703,280,126)
{
Childrens=#1:1|1:2|1:3|
Selected="base"
WorkScheme=1
}
BEGIN_SDK
Add(EditPolyMulti,2037483,21,21)
{
WorkCount=#5:##add|7:Visible|5:Color|
Point(##add)
link(Visible,7392687:doVisible,[(74,34)(74,69)])
link(Color,7392687:doColor,[(67,41)(67,76)])
}
Add(Panel,7392687,84,56)
{
Width=350
Height=160
Color=12632256
Point(doVisible)
Point(doColor)
}
END_SDK
BEGIN_SDK
Add(EditPolyMulti,6937023,21,21)
{
WorkCount=#5:##add|7:Visible|5:Color|
Point(##add)
}
Add(Panel,16471763,70,49)
{
Left=5
Top=5
Width=350
Height=160
}
END_SDK
BEGIN_SDK
Add(EditPolyMulti,9799945,21,21)
{
WorkCount=#5:##add|7:Visible|5:Color|
Point(##add)
link(##add,6070836:doData,[(39,27)(39,76)])
}
Add(Panel,7575610,140,63)
{
Left=5
Top=5
Width=350
Height=160
Point(doLeft)
Point(doTop)
}
Add(DoData,6070836,49,70)
{
Data=Integer(10)
link(onEventData,5860688:doEvent1,[])
}
Add(Hub,5860688,105,70)
{
link(onEvent1,7575610:doLeft,[])
link(onEvent2,7575610:doTop,[])
}
END_SDK
BEGIN_SDK
Add(EditPolyMulti,9689318,21,21)
{
WorkCount=#5:##add|7:Visible|5:Color|
Point(##add)
link(##add,6070836:doData,[(46,27)(46,69)])
}
Add(Panel,7575610,147,56)
{
Left=5
Top=5
Width=350
Height=160
Point(doLeft)
Point(doTop)
}
Add(DoData,6070836,56,63)
{
Data=Integer(15)
link(onEventData,5860688:doEvent1,[])
}
Add(Hub,5860688,112,63)
{
link(onEvent1,7575610:doLeft,[])
link(onEvent2,7575610:doTop,[])
}
END_SDK
Add(StrList,13369267,133,56)
{
Strings=#1:1|1:2|1:3|
}
Add(ArrayEnum,6481724,147,126)
{
link(onItem,3097703:##add,[])
link(Array,13369267:Array,[])
}
Add(Button,15341662,147,189)
{
Left=105
Top=225
TabOrder=-1
Caption="Hide"
link(onClick,13481194:doWork1,[])
}
Add(Button,8206157,147,231)
{
Left=165
Top=225
TabOrder=-1
Caption="Show"
link(onClick,13481194:doWork2,[(186,237)(186,202)])
}
Add(ChanelToIndex,13481194,203,189)
{
link(onIndex,3097703:Visible,[(242,195)(242,139)])
}
Add(Button,7350076,147,273)
{
Left=225
Top=225
TabOrder=-1
Caption="Color"
link(onClick,6591482:doOpen,[])
}
Add(ColorDialog,6591482,203,273)
{
link(onSelect,3097703:Color,[(249,279)(249,146)])
}

карма: 22

1
Голосовали:Tad