Вверх ↑
Ответов: 783
Рейтинг: 168
#1: 2022-12-09 07:00:28 ЛС | профиль | цитата
ric писал(а):
Еще одна неисправность, при использовании внешнего редактора выдаются неверная высота для редактора при смещении в право уменьшается и уходит в минус, а при переносе столба в плюс.
может кто поможет решить проблему.

Add(MainForm,3910667,133,252)
{
Width=454
Height=273
Caption="Example"
link(onCreate,2290980:doEnum,[])
}
Add(StrList,6602338,196,210)
{
Strings=#8:1=100==2|8:2=100==2|8:3=100==2|
}
Add(ArrayEnum,2290980,210,266)
{
link(onItem,4863294:doColAction,[])
link(onEndEnum,10041622:doEnum,[(254,279)(254,230)])
link(Array,6602338:Array,[])
}
Add(MST_ColAction,4863294,301,266)
{
MSTControl="tab1"
}
Add(MST_RowAction,12985991,385,210)
{
MSTControl="tab1"
}
Add(StrList,15034837,252,168)
{
Strings=#11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|
}
Add(MT_String,922736,322,210)
{
link(onResult,12985991:doRowAction,[])
}
Add(ArrayEnum,10041622,266,224)
{
link(onItem,922736:doMTString,[])
link(Array,15034837:Array,[])
}
Add(MTStrTbl,4055523,469,77)
{
Left=10
Top=5
Width=270
Height=220
Name="tab1"
FlatScroll=1
ColumnWidth=120
ColumnClick=1
ColorItems=0
HeaderDragDrop=0
TextAlign=2
Grid=0
DrawManager="000"
Point(onMouseEnter)
Point(onMouseLeave)
Point(onChar)
}
Add(MST_UseEditCtrl,3498945,525,301)
{
MSTControl="tab1"
Point(doClientRect)
Point(onClientRect)
PColor(onCellSize,8421440)
PColor(onEscCell,32768)
link(onCellSize,13620734:doValue,[(564,307)(564,244)])
link(onEnterCell,87120:doEvent1,[])
link(onEscCell,11620372:doWork2,[(592,321)(592,356)(732,356)(732,342)])
}
Add(MT_MultiData,2622840,651,308)
{
Count=4
Point(Data)
link(onData1,13270797:doLeft,[])
link(onData2,13270797:doTop,[])
link(Data,13620734:Value,[])
link(onData3,1162960:doEvent1,[(690,328)(690,363)(718,363)(718,447)])
link(onData4,15880877:doEvent1,[(753,335)(753,349)])
}
Add(Hub,15922927,763,322)
{
link(onEvent1,13270797:doSetFocus,[])
link(onEvent2,13270797:doBringToFront,[])
}
Add(Hub,87120,602,308)
{
OutCount=6
link(onEvent1,3498945:doClientRect,[(634,314)(634,293)(508,293)(508,314)])
link(onEvent2,2622840:doSeparateMT,[(669,321)(669,314)])
link(onEvent3,15922927:doEvent1,[])
link(onEvent4,13270797:doText2,[(679,335)(679,307)])
link(onEvent5,13270797:doSelectAll,[(727,342)(727,363)])
}
Add(MT_Memory,13620734,651,238)
{
}
Add(Edit,13270797,819,294)
{
Left=305
Top=105
Width=90
Alignment=2
Point(doLeft)
Point(doTop)
Point(doSetFocus)
Point(doBringToFront)
Point(doSendToBack)
Point(doHeight)
Point(doWidth)
Point(doSelectAll)
link(onEnter,8159470:doEvent1,[])
link(Str,3498945:Cell,[(825,285)(587,285)(587,341)(552,341)])
}
Add(Hub,8159470,861,301)
{
PColor(onEvent2,32768)
link(onEvent1,3498945:doSetData,[(889,307)(889,380)(513,380)(513,307)])
link(onEvent2,11620372:doWork1,[(896,314)(896,271)(802,271)])
}
Add(HubEx,11620372,798,336)
{
PColor(onEvent,32768)
link(onEvent,13270797:doSendToBack,[])
}
Add(Label,13122282,840,406)
{
Left=305
Top=145
}
Add(Label,6375608,840,448)
{
Left=305
Top=165
}
Add(Hub,1162960,770,441)
{
link(onEvent1,13270797:doWidth,[(807,447)(807,356)])
link(onEvent2,6375608:doText,[])
}
Add(Hub,15880877,763,343)
{
link(onEvent1,13270797:doHeight,[])
link(onEvent2,13122282:doText,[(798,356)(798,412)])
}
Add(StyleXP,9160581,126,84)
{
}


Немного распутал
Add(Edit,13270797,791,315)
{
Left=20
Top=20
Width=90
Alignment=2
Point(doLeft)
Point(doTop)
Point(doWidth)
Point(doHeight)
Point(doSetFocus)
Point(doBringToFront)
Point(doSelectAll)
Point(doSendToBack)
link(onEnter,8159470:doEvent1,[])
link(Str,3498945:Cell,[(797,306)(615,306)(615,348)(580,348)])
}
Add(MainForm,3910667,189,294)
{
Width=454
Height=273
Caption="Example"
link(onCreate,2290980:doEnum,[])
}
Add(StrList,6602338,252,252)
{
Strings=#8:1=100==2|8:2=100==2|8:3=100==2|
}
Add(ArrayEnum,2290980,266,308)
{
link(onItem,4863294:doColAction,[])
link(onEndEnum,10041622:doEnum,[(310,321)(310,272)])
link(Array,6602338:Array,[])
}
Add(MST_ColAction,4863294,357,308)
{
MSTControl="tab1"
}
Add(MST_RowAction,12985991,441,252)
{
MSTControl="tab1"
}
Add(StrList,15034837,308,210)
{
Strings=#11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|11:1111;2222;0|
}
Add(MT_String,922736,378,252)
{
link(onResult,12985991:doRowAction,[])
}
Add(ArrayEnum,10041622,322,266)
{
link(onItem,922736:doMTString,[])
link(Array,15034837:Array,[])
}
Add(MTStrTbl,4055523,525,119)
{
Left=10
Top=5
Width=270
Height=220
Name="tab1"
FlatScroll=1
ColumnWidth=120
ColumnClick=1
ColorItems=0
HeaderDragDrop=0
TextAlign=2
Grid=0
DrawManager="000"
Point(onMouseEnter)
Point(onMouseLeave)
Point(onChar)
}
Add(MST_UseEditCtrl,3498945,553,308)
{
MSTControl="tab1"
Point(doClientRect)
Point(onClientRect)
PColor(onCellSize,8421440)
PColor(onEscCell,32768)
link(onCellSize,13620734:doValue,[(592,314)(592,251)])
link(onEnterCell,87120:doEvent1,[])
link(onEscCell,8656537:doWork2,[(620,328)(620,384)])
}
Add(MT_MultiData,2622840,679,329)
{
Count=4
Point(Data)
link(onData1,13270797:doLeft,[])
link(onData2,13270797:doTop,[])
link(onData3,13270797:doWidth,[])
link(onData4,13270797:doHeight,[])
link(Data,13620734:Value,[])
}
Add(Hub,15922927,749,357)
{
link(onEvent1,13270797:doSetFocus,[])
link(onEvent2,13270797:doBringToFront,[])
}
Add(Hub,87120,630,315)
{
OutCount=6
link(onEvent1,3498945:doClientRect,[(655,321)(655,293)(536,293)(536,321)])
link(onEvent2,13270797:doText2,[])
link(onEvent3,2622840:doSeparateMT,[])
link(onEvent4,15922927:doEvent1,[(669,342)(669,363)])
link(onEvent5,13270797:doSelectAll,[(662,349)(662,377)])
}
Add(MT_Memory,13620734,679,245)
{
}
Add(Hub,8159470,840,322)
{
PColor(onEvent2,32768)
link(onEvent1,3498945:doSetData,[(879,328)(879,286)(543,286)(543,314)])
link(onEvent2,8656537:doWork3,[(879,335)(879,398)(760,398)])
}
Add(StyleXP,9160581,182,126)
{
}
Add(HubEx,8656537,756,378)
{
PColor(onEvent,32768)
link(onEvent,13270797:doSendToBack,[])
}

карма: 15

0
Редактировалось 2 раз(а), последний 2022-12-09 07:49:11