------------ Дoбавленo в 17.43:
Add(MainForm,314817,147,112)
{
Width=445
Height=261
Caption="Пример использования MST_UseEditCtrl"
Position=1
link(onCreate,10041622:doEnum,[])
}
Add(MST_UseEditCtrl,3498945,140,210)
{
MSTControl="MtS_tbl"
PColor(onCellSize,8421440)
PColor(onEscCell,32768)
link(onCellSize,13620734:doValue,[(186,216)(186,181)])
link(onEnterCell,87120:doEvent1,[])
link(onEscCell,9450650:doSendToBack,[(185,230)(185,251)])
}
Add(StrList,15034837,210,70)
{
Strings=#15:sdfsdf;aaaaa;;0|15:fzsdfzs;bbbb;;3|14:sdfszz;cccc;;2|15:sdfszz;ddddd;;0|15:sdfszz;eeeee;;1|15:sdfszz;fffff;;3|15:fzsdfzs;gggg;;2|14:sdfszz;hhhh;;0|16:fzsdfzs;iiiii;;3|16:sdfszz;jjjjjj;;1|
}
Add(MT_String,922736,280,112)
{
link(onResult,2904434:doRowAction,[])
}
Add(ArrayEnum,10041622,224,126)
{
link(onItem,922736:doMTString,[])
link(Array,15034837:Array,[])
}
Add(MST_RowAction,2904434,336,112)
{
MSTControl="MtS_tbl"
}
Add(MT_MultiData,2622840,224,217)
{
Point(Data)
link(onData1,9450650:doLeft,[])
link(onData2,9450650:doTop,[])
link(Data,13620734:Value,[])
}
Add(Hub,15922927,287,231)
{
link(onEvent1,9450650:doSetFocus,[])
link(onEvent2,9450650:doBringToFront,[])
}
Add(Hub,87120,196,217)
{
link(onEvent1,2622840:doSeparateMT,[])
link(onEvent2,15922927:doEvent1,[(218,230)(218,237)])
}
Add(DatePicker,9450650,336,210)
{
Left=30
Top=205
Width=90
Font=[MS Sans Serif,6,0,0,1]
Point(doLeft)
Point(doTop)
Point(doSetFocus)
Point(doBringToFront)
Point(DateTime)
Point(doSendToBack)
link(OnChange,10029744:doConvert,[(382,216)(382,261)(324,261)(324,279)])
}
Add(DateConvertor,10029744,336,273)
{
Mode=9
Format="dd-MM-yyyy"
Point(Data)
link(onResult,3498945:doSetData,[(382,279)(382,317)(128,317)(128,216)])
link(Data,9450650:DateTime,[])
}
Add(MTStrTbl,9842821,147,70)
{
Left=25
Top=20
Width=360
Height=170
Font=[MS Sans Serif,12,0,0,1]
Name="MtS_tbl"
Columns=#1:1|1:2|1:3|
ColumnWidth=90
}
Add(MT_Memory,13620734,224,175)
{
}