code_32737.txt
------------ Дoбавленo в 18.01:
сорри не полный код
Add(MST_UseEditCtrl,3498945,252,532)
{
@Color=5592575
MSTControl="график"
PColor(onCellSize,8421440)
PColor(onEscCell,32768)
link(onCellSize,13620734:doValue,[(298,538)(298,503)])
link(onEnterCell,87120:doEvent1,[])
link(onEscCell,8396742:doSendToBack,[(297,552)(297,573)])
}
Add(MT_MultiData,2622840,336,539)
{
Point(Data)
link(onData1,8396742:doLeft,[])
link(onData2,8396742:doTop,[])
link(Data,13620734:Value,[])
}
Add(Hub,15922927,399,553)
{
link(onEvent1,8396742:doSetFocus,[])
link(onEvent2,8396742:doBringToFront,[])
}
Add(Hub,87120,308,539)
{
link(onEvent1,2622840:doSeparateMT,[])
link(onEvent2,15922927:doEvent1,[(330,552)(330,559)])
}
Add(DatePicker,8396742,448,532)
{
Left=300
Top=275
Width=90
Height=21
Font=[MS Sans Serif,6,0,0,1]
Point(doLeft)
Point(doTop)
Point(doSetFocus)
Point(doBringToFront)
Point(DateTime)
Point(doSendToBack)
link(OnChange,10029744:doConvert,[(492,538)(492,570)(422,570)(422,601)])
}
Add(MT_Memory,13620734,336,497)
{
}
Add(DateConvertor,10029744,434,595)
{
Mode=9
Format="dd-MM-yyyy"
Point(Data)
link(onResult,3498945:doSetData,[(478,601)(478,569)(240,569)(240,538)])
link(Data,8396742:DateTime,[(440,586)(454,586)])
}
как сделать нашел способ, но....
Add(MainForm,1048914,189,84)
{
Width=556
Height=510
link(onCreate,10041622:doEnum,[])
}
Add(MTStrTbl,4376548,455,84)
{
Left=5
Top=5
Width=535
Height=460
Color=-16777194
Font=[MS Sans Serif,10,1,128,1]
Name="table"
HintManager="mtst_hint"
Layout="horiz_1"
WidthScale=100
HeightScale=100
DoubleBuffered=0
Columns=#1:1|1:2|1:3|1:4|1:5|1:6|1:7|1:8|1:9|2:10|
ColumnClick=1
DrawManager="table_dw"
}
Add(StrList,15034837,245,42)
{
Strings=#32:sdfsdf utyuyt popo;aaaaa;;0;1234|33:sdfsdf utyuyt popo;aaaaa;;0;1234 |32:sdfsdf utyuyt popo;aaaaa;;0;1234|32:sdfsdf utyuyt popo;aaaaa;;0;1234|32:sdfsdf utyuyt popo;aaaaa;;0;1234|32:sdfsdf utyuyt popo;aaaaa;;0;1234|32:sdfsdf utyuyt popo;aaaaa;;0;1234|32:sdfsdf utyuyt popo;aaaaa;;0;1234|32:sdfsdf utyuyt popo;aaaaa;;0;1234|32:sdfsdf utyuyt popo;aaaaa;;0;1234|32:sdfsdf utyuyt popo;aaaaa;;0;1234|
}
Add(ArrayEnum,10041622,259,98)
{
link(onItem,922736:doMTString,[])
link(Array,15034837:Array,[])
}
Add(MT_String,922736,336,84)
{
link(onResult,2904434:doRowAction,[])
}
Add(MST_RowAction,2904434,392,84)
{
MSTControl="table"
}
Add(MST_UseEditCtrl,3498945,77,553)
{
MSTControl="table"
PColor(onCellSize,8421440)
PColor(onEscCell,32768)
link(onCellSize,13620734:doValue,[(347,559)(347,601)])
link(onEnterCell,5538646:doCompare,[(128,566)(128,671)])
link(onEscCell,8396742:doSendToBack,[(339,573)(339,769)])
}
Add(MT_MultiData,2622840,385,637)
{
Point(Data)
link(onData1,8396742:doLeft,[(517,643)(517,741)])
link(onData2,8396742:doTop,[(517,650)(517,748)])
link(Data,13620734:Value,[])
}
Add(Hub,15922927,448,651)
{
link(onEvent1,8396742:doSetFocus,[(539,657)(539,755)])
link(onEvent2,8396742:doBringToFront,[(539,664)(539,762)])
}
Add(Hub,87120,357,637)
{
InCount=2
link(onEvent1,2622840:doSeparateMT,[])
link(onEvent2,15922927:doEvent1,[(379,650)(379,657)])
}
Add(DatePicker,8396742,616,728)
{
Left=300
Top=275
Width=90
Height=21
Font=[MS Sans Serif,6,0,0,1]
Point(doLeft)
Point(doTop)
Point(doSetFocus)
Point(doBringToFront)
Point(DateTime)
Point(doSendToBack)
Point(Data)
link(OnChange,10029744:doConvert,[(685,734)(685,895)(604,895)(604,853)])
link(Data,3498945:Cell,[(622,720)(104,720)])
}
Add(MT_Memory,13620734,385,595)
{
}
Add(DateConvertor,10029744,616,847)
{
Mode=9
Format="dd-MM-yyyy"
Point(Data)
Point(Result)
link(onResult,3498945:doSetData,[(657,853)(657,789)(65,789)(65,559)])
link(Data,8396742:DateTime,[])
}
Add(If_else,5538646,140,665)
{
Type=2
Op2=Integer(0)
link(onTrue,3063936:doEvent1,[])
link(Op1,3498945:SubItem,[(146,604)(90,604)])
}
Add(Hub,3063936,189,665)
{
OutCount=7
link(onEvent1,87120:doEvent1,[(287,671)(287,643)])
link(onEvent2,8396742:doSetDate,[(417,678)(417,734)])
}