Вверх ↑
Ответов: 787
Рейтинг: 168
#1: 2024-03-23 11:53:12 ЛС | профиль | цитата
3042 писал(а):
у меня в коде у таблицы Redaction=true, что позволяет не заморачиваться со всеми этими doLeft, doWidth...

Как вариант
Add(MainForm,15443588,280,98)
{
Width=621
Height=307
link(onCreate,3682515:doConvert,[])
}
Add(MTStrTbl,15391708,273,161)
{
Width=605
Height=268
Align=5
Name="tabs"
Redaction=0
Point(onBeforeLineChange)
Point(ItemAtPos)
Point(onLineChange)
Point(onDblClick)
link(onBeforeLineChange,3924359:doAdd,[])
link(onLineChange,13600502:doValue,[])
link(onDblClick,10497607:doSeparateMT,[(319,209)(319,300)])
}
Add(MST_ColAction,4139610,427,112)
{
Action=9
MaxColWidth=1000
Index=-2
MSTControl="tabs"
}
Add(MST_Load,571213,378,105)
{
Delimiter="\t"
MSTControl="tabs"
link(onLoadFromStream,4139610:doColAction,[])
}
Add(StreamConvertor,3682515,329,112)
{
Mode=7
Point(Data)
link(onResult,571213:doLoadFromStream,[])
link(Data,6934679:Text,[])
}
Add(StrList,6934679,329,63)
{
Strings=#42:Item Description Quantity Unit Price Value|63:13930 Double-action Quickstart II rem. L=740mm 1 PC 98,66 98,66|53:13100201 Spray gun for udder washer 20 PC 17,77 355,4|49:13246007 COMBI-cock ш51 mm cpl. 10 PC 63,43 634,3|51:25643301 Milk hose ш 24/14 x 2750 32 PC 9,76 312,32|56:14291 Service no.1 RDS MAX double box 1 PC 250,51 250,51|54:24144638 Spiral spring for tube filter 3 PC 43,2 129,6|40:22121763 V-belt spz 1087 4 PC 5,91 23,64|61:MH0015 Repair kit non-rotating cylinder ш40mm 8 PC 14,3 114,4|48:GS9835 Revision set SAC Unipuls 4 PC 13,97 55,88|52:22121735 El-motor 3,0kw 3x400v 1400 1 PC 186,4 186,4|55:23544122 Carbon disc ш44,7/38,3x5,8mm 10 PC 16,92 169,2|55:23544122 Carbon disc ш44,7/38,3x5,8mm 10 PC 16,92 169,2|54:23544122 Carbon disc ш44,7/38,3x5,8mm 2 PC 16,92 33,84|64:21200159 Top part UNIFL3/4 for steel bot.part 25 PC 30,09 752,25|57:24400111 Hose f. pump compl. UNIWASH 153 PC 10,58 1618,74|58:13225 Piston complete for valve UNIWASH3 4 PC 27,09 108,36|60:12200105 Vacuumgauge glycerine ш100mm 3/8" 5 PC 40,57 202,85|0:|
}
Add(MST_EditEnd,12880784,539,294)
{
MSTControl="tabs"
link(EditEnd,4265232:Value,[])
}
Add(IndexToChanel,16239578,469,294)
{
Count=6
link(onEvent1,3296752:doWork2,[])
link(onEvent2,8960096:doWork2,[])
link(onEvent4,8960096:doWork3,[(515,321)])
}
Add(HubEx,3296752,511,294)
{
link(onEvent,12880784:doEditEnd,[])
}
Add(HubEx,8960096,511,301)
{
Angle=3
link(onEvent,3296752:doWork3,[])
}
Add(MT_MultiData,10497607,413,294)
{
From=1
Count=1
Point(Data)
link(onData1,16239578:doEvent,[])
link(Data,15391708:ItemAtPos,[(419,285)(307,285)])
}
Add(Memory,4265232,539,245)
{
Default=Integer(0)
}
Add(MT_MultiMem,13600502,399,196)
{
Count=6
link(onData,14242170:doAdd,[(452,202)(452,209)(382,209)(382,251)])
}
Add(MT_AddData,14242170,392,245)
{
Count=7
link(onAdd,16604570:doRowAction,[])
link(Data1,10403961:Value1,[])
link(Data2,10403961:Value2,[])
link(Data3,10403961:Value3,[])
link(Data4,13600502:Value3,[])
link(Data5,10403961:Value5,[])
link(Data6,13600502:Value5,[])
link(Data7,13600502:Value6,[])
}
Add(MST_RowAction,16604570,469,245)
{
Action=2
MSTControl="tabs"
}
Add(MT_MultiMem,10403961,392,189)
{
Count=6
}
Add(MT_Add,3924359,343,189)
{
InputMT=1
link(onAdd,10403961:doValue,[])
link(Data,15391708:Index,[(349,180)(335,180)(335,222)(286,222)])
}

карма: 15

0
Редактировалось 3 раз(а), последний 2024-03-23 12:23:17