Вверх ↑
Ответов: 8799
Рейтинг: 817
#1: 2021-08-27 20:23:25 ЛС | профиль | цитата
Serascer, подобные вещи надо делать на Базе Данных
Скажем, у вас изменился список товаров, вы что собираетесь каждый раз изменять списки в схеме и компилировать заново?
хотелки


Add(ChildForm,2730399,392,126)
{
}
BEGIN_SDK
Add(EditMulti,9733784,42,28)
{
WorkCount=1
Width=685
Height=326
link(doWork1,7274384:doEvent1,[(53,34)(53,83)])
}
Add(MainForm,16100782,105,42)
{
Width=516
Height=408
Visible=1
Caption="Корпус"
BorderStyle=1
Position=1
Point(doShowModal)
}
Add(ComboBox,6065265,70,182)
{
Left=20
Top=40
Width=105
Height=21
Strings=#0:|12:2.5″, |12:3,5″, |5:M.2, |7:PCI-E, |
Text=""
ReadOnly=0
DropDownCount=80
Point(doWidth)
Point(onMouseMove)
link(onClick,14127338:doEvent1,[])
link(onMouseMove,15941200:doData,[(108,202)(108,265)(46,265)(46,300)])
}
Add(Label,10206948,70,133)
{
Left=20
Top=20
Width=75
Height=17
Caption="Форм-фактор"
}
Add(ComboBox,14452312,154,182)
{
Left=20
Top=90
Width=105
Height=21
Strings=#0:|5:IDE, |6:SATA, |9:PCI-E x2,|9:PCI-E x4,|4:U.2,|4:SAS,|5:SCSI,|0:|
Text=""
ReadOnly=0
DropDownCount=80
Point(onMouseMove)
Point(doWidth)
link(onClick,1011230:doEvent1,[])
link(onMouseMove,6082153:doData,[(192,202)(192,270)(123,270)(123,300)])
}
Add(Label,10433440,154,133)
{
Left=20
Top=70
Width=65
Height=17
Caption="Интерфейс"
}
Add(ComboBox,2657817,238,182)
{
Left=20
Top=140
Width=105
Height=21
Strings=#0:|14:буфер 128 Мб, |13:буфер 256 Мб,|
Text=""
ReadOnly=0
DropDownCount=80
Point(doWidth)
Point(onMouseMove)
link(onClick,7243607:doEvent1,[])
link(onMouseMove,2213382:doData,[(278,202)(278,272)(214,272)(214,300)])
}
Add(FormatStr,883418,448,273)
{
DataCount=7
Mask="%1 %2 %3 %4 %5 %6 %7"
link(onFString,13250529:doText,[(515,279)(515,307)])
link(Str1,6065265:String,[(454,250)(83,250)])
link(Str2,14452312:String,[(461,243)(167,243)])
link(Str3,2657817:String,[(468,236)(251,236)])
link(Str4,8942738:String,[(475,229)(342,229)])
link(Str5,7383357:Value,[(482,229)(580,229)])
link(Str6,6713380:Value,[(489,236)(622,236)])
link(Str7,14739846:Value,[(496,243)(671,243)])
}
Add(ComboBox,8942738,329,182)
{
Left=20
Top=190
Width=105
Height=21
Strings=#0:|12:5400 об/мин,|12:7200 об/мин,|13:10000 об/мин,|
Text=""
ReadOnly=0
DropDownCount=80
Point(onMouseMove)
Point(doWidth)
link(onClick,9678482:doEvent1,[])
link(onMouseMove,2661438:doData,[(367,202)(367,270)(312,270)(312,300)])
}
Add(Label,16574191,238,133)
{
Left=20
Top=120
Width=59
Height=17
Caption="Буфер"
}
Add(Memo,13250529,532,280)
{
Left=135
Top=40
Width=365
Height=320
}
Add(Label,14515376,329,133)
{
Left=20
Top=170
Width=59
Height=17
Caption="Обороты"
}
Add(Label,9722165,441,42)
{
Left=20
Top=220
Width=52
Height=17
Caption="Чтение"
Alignment=2
}
Add(Label,15822845,483,42)
{
Left=20
Top=270
Width=53
Height=17
Caption="Запись"
Alignment=2
}
Add(Label,9453449,525,42)
{
Left=20
Top=320
Height=17
Caption="TBW"
Alignment=2
}
Add(Edit,7602494,525,91)
{
Left=20
Top=340
Text=""
Point(doEnabled)
link(onChange,826784:doCompare,[])
}
Add(Edit,13470322,483,133)
{
Left=20
Top=290
Text=""
link(onChange,8916773:doCompare,[])
}
Add(Edit,14307822,441,182)
{
Left=20
Top=240
Text=""
link(onChange,5360677:doCompare,[])
}
Add(Hub,7274384,70,77)
{
OutCount=3
link(onEvent1,16100782:doShowModal,[(95,83)(95,76)])
link(onEvent2,6045376:doData,[])
link(onEvent3,13250529:doClear,[(116,97)(116,335)(508,335)(508,293)])
}
Add(If_else,826784,567,91)
{
Type=5
Op2=String()
link(onTrue,516839:doString,[])
link(onFalse,14739846:doClear,[])
}
Add(DoData,6045376,154,84)
{
Data=String()
link(onEventData,16444907:doEvent1,[])
}
Add(Hub,16444907,203,84)
{
OutCount=3
link(onEvent1,7602494:doText,[(389,90)(389,97)])
link(onEvent2,13470322:doText,[(396,97)(396,139)])
link(onEvent3,14307822:doText,[(424,104)(424,188)])
}
Add(FormatStr,516839,616,91)
{
DataCount=1
Mask=" TBW %1 Тб"
link(onFString,14739846:doValue,[])
}
Add(Memory,14739846,665,91)
{
Default=String()
link(onData,11107051:doWork1,[(704,97)])
}
Add(If_else,8916773,525,133)
{
Type=5
Op2=String()
link(onTrue,5370324:doString,[])
link(onFalse,6713380:doClear,[])
}
Add(FormatStr,5370324,567,133)
{
DataCount=1
Mask=" скорсть записи до %1 Мб/с,"
link(onFString,6713380:doValue,[])
}
Add(Memory,6713380,616,133)
{
Default=String()
link(onData,11107051:doWork2,[])
}
Add(If_else,5360677,483,182)
{
Type=5
Op2=String()
link(onTrue,15654513:doString,[])
link(onFalse,7383357:doClear,[])
}
Add(FormatStr,15654513,525,182)
{
DataCount=1
Mask=" скорсть чтения до %1 Мб/с,"
link(onFString,7383357:doValue,[])
}
Add(Memory,7383357,574,182)
{
Default=String()
link(onData,15601099:doWork2,[])
}
Add(DoData,14635486,63,287)
{
Data=Integer(105)
link(onEventData,11045879:doWork2,[])
}
Add(DoData,15941200,70,294)
{
Data=Integer(250)
link(onEventData,11045879:doWork3,[(109,300)])
}
Add(HubEx,11045879,105,287)
{
Angle=3
link(onEvent,6065265:doWidth,[(109,271)(62,271)(62,216)])
}
Add(Hub,14127338,119,189)
{
link(onEvent1,14634685:doWork2,[(144,195)(144,174)])
link(onEvent2,14635486:doData,[(137,202)(137,257)(53,257)(53,293)])
}
Add(DoData,6734160,140,287)
{
Data=Integer(105)
link(onEventData,8038345:doWork2,[])
}
Add(DoData,6082153,147,294)
{
Data=Integer(250)
link(onEventData,8038345:doWork3,[(186,300)])
}
Add(HubEx,8038345,182,287)
{
Angle=3
link(onEvent,14452312:doWidth,[(186,254)(144,254)(144,216)])
}
Add(Hub,1011230,203,189)
{
link(onEvent1,14634685:doWork3,[(228,195)])
link(onEvent2,6734160:doData,[(220,202)(220,262)(130,262)(130,293)])
}
Add(DoData,7127820,238,287)
{
Data=Integer(105)
link(onEventData,4843659:doWork2,[])
}
Add(DoData,2213382,245,294)
{
Data=Integer(250)
link(onEventData,4843659:doWork3,[(284,300)])
}
Add(HubEx,4843659,280,287)
{
Angle=3
link(onEvent,2657817:doWidth,[(284,254)(229,254)(229,216)])
}
Add(Hub,7243607,287,189)
{
link(onEvent1,1754641:doWork3,[(312,195)])
link(onEvent2,7127820:doData,[(309,202)(309,262)(220,262)(220,293)])
}
Add(DoData,2262455,329,287)
{
Data=Integer(105)
link(onEventData,6407171:doWork2,[])
}
Add(DoData,2661438,336,294)
{
Data=Integer(250)
link(onEventData,6407171:doWork3,[(375,300)])
}
Add(HubEx,6407171,371,287)
{
Angle=3
link(onEvent,8942738:doWidth,[(375,258)(319,258)(319,216)])
}
Add(Hub,9678482,378,189)
{
link(onEvent1,11432323:doWork2,[])
link(onEvent2,2262455:doData,[(403,202)(403,265)(319,265)(319,293)])
}
Add(HubEx,9931570,406,217)
{
Angle=1
link(onEvent,883418:doString,[(410,279)])
}
Add(HubEx,11107051,700,133)
{
Angle=1
link(onEvent,15601099:doWork1,[])
}
Add(HubEx,15601099,700,182)
{
Angle=1
link(onEvent,9931570:doWork3,[(704,223)])
}
Add(HubEx,11432323,406,189)
{
Angle=1
link(onEvent,9931570:doWork1,[])
}
Add(HubEx,14634685,224,168)
{
link(onEvent,1754641:doWork2,[])
}
Add(HubEx,1754641,308,168)
{
link(onEvent,11432323:doWork1,[(410,174)])
}
END_SDK
Add(Button,13021642,343,126)
{
Left=70
Top=40
Width=70
Caption="SSD/HDD"
link(onClick,2730399:doWork1,[])
}
Add(MainForm,2849379,273,133)
{
Width=237
Height=127
Caption="Описание товара"
BorderStyle=1
Position=1
Point(doShowModal)
}

карма: 18

0