Add(MainForm,2953706,21,105)
{
link(onCreate,4651284:doWork1,[])
}
Add(ChildScrollBox,4651284,175,119)
{
}
BEGIN_SDK
Add(EditMulti,5617096,21,21)
{
EventCount=3
WorkCount=1
Width=1784
Height=886
link(doWork1,14563086:doEvent1,[(87,27)(87,174)])
}
Add(ScrollBox,6758026,42,42)
{
Left=504
Top=91
Width=189
Height=508
Align=3
ModeSp=1
BorderStyle=1
Point(Handle)
}
Add(LineBreakEx,3516870,826,245)
{
Caption="SetFocus"
}
Add(Edit,8944797,826,154)
{
Left=10
Top=260
Width=85
Color=-16777192
Font=[MS Sans Serif,12,1,0,1]
Visible=1
Ctl3D=1
Text=""
Point(doLeft)
Point(doTop)
Point(doWidth)
Point(doHeight)
Point(doVisible)
Point(doSetFocus)
Point(doBringToFront)
Point(onKeyUp)
Point(doPosition)
Point(onMouseLeave)
link(onEnter,10463855:onEnter,[(870,167)(870,177)(758,177)(758,188)])
link(Str,1347128:getVar,[])
link(onKeyUp,10463855:KeyUp,[(870,174)(870,162)(758,162)(758,174)])
link(onMouseLeave,9311369:doPress,[])
}
Add(StringTableMT,14706494,273,266)
{
Left=10
Top=10
Width=275
Height=190
Font=[MS Sans Serif,12,1,0,1]
Columns=#8:Edit=100|8:Edit=100|
Style=4
Flat=1
TabGrid=0
TabGridFrame=0
TableWBreak=0
Grid=0
Gradient=0
HeaderDragDrop=0
TextColor=128
GradientColor=-16777213
IconsCheck=[]
MiscIcons=[]
Icons=[]
StringsStrLst=#9:Width;500|9:Heght;800|11:Select;none|10:Check;true|9:Color;Red|0:|
AutoTblStrLst=0
Point(Index)
Point(SubItem)
Point(Cell)
Point(doTabGrid)
Point(doTabGridFrame)
Point(doGradient)
Point(doSingleString)
Point(doGradientColor)
Point(GenColors_MT)
Point(onMT_CellClick)
Point(Matrix)
Point(doSetFocus)
Point(onEscCell)
Point(Handle)
link(onMT_CellClick,3579290:doEvent,[(334,279)(334,188)])
link(onEscCell,5492443:doWork,[(350,286)(350,384)])
}
Add(LineBreakEx,2038226,210,476)
{
Caption="SetData"
Type=1
link(OnEvent,7574571:doWrite,[])
}
Add(MultiElementEx,10463855,770,161)
{
link(OutData,8944797:doText2,[])
link(hLeft,8944797:doLeft,[])
link(hTop,8944797:doTop,[])
link(hWidth,8944797:doWidth,[])
link(hHeight,8944797:doHeight,[])
link(Visible,8944797:doVisible,[])
link(SetFocus,8944797:doSetFocus,[])
link(BringToFront,8944797:doBringToFront,[])
link(Position,8944797:doPosition,[])
link(SetData,12048896:doWork,[(814,230)(814,237)])
link(SetTableFocus,3516870:doWork,[(814,237)(814,251)])
link(NextEscCell,14836581:doWork,[(814,244)(814,265)])
}
BEGIN_SDK
Add(EditMultiEx,15182397,21,21)
{
WorkCount=#7:MT_Data|5:KeyUp|7:EscCell|7:onEnter|
EventCount=#7:OutData|5:hLeft|4:hTop|6:hWidth|7:hHeight|7:Visible|8:SetFocus|12:BringToFront|8:Position|7:SetData|13:SetTableFocus|11:NextEscCell|
Width=391
Height=270
link(MT_Data,3680685:doEvent1,[(56,27)(56,41)])
link(KeyUp,2800569:doCase,[(75,34)(75,237)])
link(EscCell,16665400:doEvent1,[(59,41)(59,139)])
link(onEnter,2182703:doEvent1,[(59,48)(59,195)])
}
Add(MT_Get,14282181,203,112)
{
link(onData,5247553:doGet,[(247,118)(247,136)(191,136)(191,153)])
link(onGet,15182397:hWidth,[(280,125)(280,48)])
}
Add(MT_Get,5247553,203,147)
{
link(onGet,15182397:hHeight,[(323,160)(323,55)])
}
Add(MT_Get,10106579,203,77)
{
link(onData,14282181:doGet,[(247,83)(247,101)(191,101)(191,118)])
link(onGet,15182397:hTop,[(280,90)(280,41)])
}
Add(MT_Get,14722145,203,42)
{
link(onData,10106579:doGet,[(247,48)(247,66)(191,66)(191,83)])
link(onGet,15182397:hLeft,[(280,55)(280,34)])
}
Add(Hub,3680685,91,35)
{
OutCount=5
link(onEvent1,15182397:OutData,[(250,41)(250,27)])
link(onEvent2,14722145:doGet,[])
link(onEvent3,15182397:SetFocus,[(267,55)(267,69)])
link(onEvent4,15182397:BringToFront,[(267,62)(267,76)])
link(onEvent5,12834112:doData,[])
}
Add(Case,2800569,203,231)
{
Value=Integer(27)
DataOnTrue=Integer(0)
link(onTrue,7735799:doEvent1,[])
}
Add(DoData,6339547,203,196)
{
Data=Integer(0)
link(onEventData,9757643:doWork2,[])
}
Add(Hub,7735799,259,238)
{
link(onEvent1,9757643:doWork3,[(354,244)])
link(onEvent2,15182397:SetTableFocus,[(368,251)(368,97)])
}
Add(HubEx,9757643,350,196)
{
Angle=3
link(onEvent,15182397:Visible,[(354,62)])
}
Add(HubEx,14640009,168,196)
{
link(onEvent,6339547:doData,[])
}
Add(DoData,12834112,144,63)
{
Data=Integer(0)
link(onEventData,15182397:Position,[(294,69)(294,83)])
}
Add(Hub,2182703,98,189)
{
link(onEvent1,15182397:SetData,[(271,195)(271,90)])
link(onEvent2,14640009:doWork2,[])
}
Add(Hub,16665400,98,133)
{
link(onEvent1,14640009:doWork1,[(172,139)])
link(onEvent2,15182397:NextEscCell,[(271,146)(271,104)])
}
END_SDK
Add(Button,10475814,154,217)
{
Left=5
Top=205
Width=75
TabOrder=-1
Caption="TabGrid"
link(onClick,7450025:doSwitch,[])
}
Add(Button,11010609,154,252)
{
Left=85
Top=205
Width=75
TabOrder=-1
Caption="TabGridFrame"
link(onClick,14006697:doSwitch,[])
}
Add(Switch,14006697,203,252)
{
DataOn=Integer(1)
DataOff=Integer(0)
Default=0
link(onSwitch,14706494:doTabGridFrame,[(261,258)(261,314)])
}
Add(Switch,7450025,203,217)
{
DataOn=Integer(1)
DataOff=Integer(0)
Default=0
link(onSwitch,14706494:doTabGrid,[(261,223)(261,293)])
}
Add(Button,4383596,154,287)
{
Left=165
Top=205
Width=75
TabOrder=-1
Caption="Gradient"
link(onClick,11428156:doSwitch,[])
}
Add(Switch,11428156,203,287)
{
DataOn=Integer(1)
DataOff=Integer(0)
Default=0
link(onSwitch,14706494:doGradient,[(261,293)(261,321)])
}
Add(Button,8533939,154,322)
{
Left=325
Top=205
Width=75
TabOrder=-1
Caption="SingleString"
link(onClick,1406174:doSwitch,[])
}
Add(Switch,1406174,203,322)
{
DataOn=Integer(1)
DataOff=Integer(0)
link(onSwitch,14706494:doSingleString,[])
}
Add(Button,6758889,154,357)
{
Left=245
Top=205
Width=75
TabOrder=-1
Caption="GradientColor"
link(onClick,5994120:doOpen,[])
}
Add(MT_MultiMem,8724013,203,168)
{
Count=5
Point(Data)
link(Data,14041054:getVar,[])
}
Add(ColorDialog,5994120,231,357)
{
link(onSelect,14706494:doGradientColor,[(269,363)(269,335)])
link(Color,8724013:Value5,[])
}
Add(LineBreakEx,5492443,413,378)
{
Caption="EscCell"
}
Add(LineBreakEx,1347128,826,126)
{
Caption="Cell"
Type=2
}
Add(LineBreakEx,16159683,315,399)
{
Caption="Cell"
Type=3
link(_Data,14706494:Cell,[(321,365)(307,365)])
}
Add(LineBreakEx,14041054,203,140)
{
Caption="Gen_Colors"
Type=2
}
Add(LineBreakEx,3442475,322,420)
{
Caption="Gen_Colors"
Type=3
link(_Data,14706494:GenColors_MT,[(328,376)(314,376)])
}
Add(LineBreakEx,15842762,448,245)
{
Caption="MT_Data_1"
}
Add(MatrixRW,7574571,280,469)
{
link(Matrix,14706494:Matrix,[(286,407)(321,407)])
link(X,2230359:getVar,[])
link(Y,565131:Var2,[])
}
Add(LineBreakEx,3167286,343,147)
{
Caption="SubItem"
Type=2
}
Add(LineBreakEx,1084485,154,392)
{
Caption="SetFocus"
Type=1
link(OnEvent,14706494:doSetFocus,[(272,398)(272,342)])
}
Add(MT_IndexToChanel,3579290,343,182)
{
Count=4
Point(Index)
link(onEvent2,15790137:doEvent1,[(387,195)(387,216)(338,216)(338,237)])
link(Index,3167286:getVar,[])
}
Add(LineBreakEx,12048896,826,231)
{
Caption="SetData"
}
Add(LineBreakEx,14836581,826,259)
{
Caption="NexrEscCell_1"
}
Add(LineBreakEx,16750978,658,175)
{
Caption="EscCell"
Type=1
link(OnEvent,10463855:EscCell,[])
}
Add(LineBreakEx,14840706,308,378)
{
Caption="SubItem"
Type=3
link(_Data,14706494:SubItem,[(314,355)(300,355)])
}
Add(InfoTip,9605650,644,84)
{
Info=#0:|4:Edit|
Font=[MS Sans Serif,12,1,255,1]
Frame=3
Width=351
Height=221
}
Add(LineBreakEx,2230359,294,441)
{
Caption="SubItem"
Type=2
}
Add(LineBreakEx,11523854,658,161)
{
Caption="MT_Data_2"
Type=1
link(OnEvent,10463855:MT_Data,[])
}
Add(LineBreakEx,11948546,448,266)
{
Caption="MT_Data_3"
}
Add(InfoTip,13356219,140,70)
{
Info=#0:|13:StringTableMT|32:режим: TabGrid с EditControl-ами|
Font=[MS Sans Serif,12,1,8388608,1]
Frame=3
Width=484
Height=445
}
Add(InfoTip,6538180,140,518)
{
Info=#0:|329:в режиме TabGrid с EditControl-ами работают стрелки клавиатуры или выбор пункта мышью. Вход в режим редактирования -- либо Enter, либо F2, либо двойной клик мышью. Выход -- либо ESC, либо любой Scroll, либо выбор любой другой ячейки мышью без применения редакции. В режиме Edit, для применения изменений, необходимо нажать Enter.|
Font=[MS Sans Serif,12,1,32768,1]
Frame=3
Width=358
Height=228
}
Add(MultiElementEx,14516440,882,462)
{
link(onEvent,8747443:doWork,[])
}
BEGIN_SDK
Add(EditMultiEx,6305113,21,21)
{
WorkCount=#7:doEvent|
EventCount=#7:onEvent|
Width=167
Height=123
link(doEvent,6241665:doEvent,[(35,27)(35,83)])
}
Add(IndexToChanel,6241665,49,77)
{
link(onEvent1,6822189:doData,[(89,83)(89,55)])
link(onEvent2,8827569:doData,[])
}
Add(DoData,6822189,98,49)
{
Data=String(False)
link(onEventData,6076615:doWork1,[(144,55)])
}
Add(HubEx,6076615,140,84)
{
link(onEvent,6305113:onEvent,[(169,90)(169,27)])
}
Add(DoData,8827569,98,84)
{
Data=String(True)
link(onEventData,6076615:doWork2,[])
}
END_SDK
Add(MultiElementEx,457242,784,392)
{
link(onEvent2,645625:doCaption,[(828,398)(828,482)])
link(onIndex,645625:doCheck,[(828,405)(828,433)])
link(Data,1964947:getVar,[])
}
BEGIN_SDK
Add(EditMultiEx,8409850,21,21)
{
WorkCount=#6:doData|
EventCount=#8:onEvent2|7:onIndex|
DataCount=#4:Data|
Height=95
link(doData,11024678:doData,[(35,27)(35,55)])
}
Add(Hub,11564246,91,49)
{
link(onEvent1,13220328:doCase,[])
link(onEvent2,8409850:onEvent2,[(222,62)(222,27)])
}
Add(HubEx,9756245,224,63)
{
link(onEvent,9026172:doWork1,[])
}
Add(ChanelToIndex,9026172,245,63)
{
link(onIndex,8409850:onIndex,[(299,69)(299,34)])
}
Add(DoData,11024678,49,49)
{
link(onEventData,11564246:doEvent1,[])
link(Data,8409850:Data,[(55,35)(27,35)])
}
Add(Case,13220328,140,49)
{
Value=String(False)
link(onNextCase,13489195:doCase,[])
link(onTrue,9756245:doWork2,[(188,62)(188,69)])
}
Add(Case,13489195,182,49)
{
Value=String(True)
link(onNextCase,9756245:doWork1,[(228,55)])
link(onTrue,9026172:doWork2,[(223,62)(223,76)])
}
END_SDK
Add(InfoTip,7316469,651,329)
{
Info=#0:|8:CheckBox|
Font=[MS Sans Serif,12,1,16711680,1]
Frame=3
Width=351
Height=221
}
Add(LineBreakEx,1964947,784,364)
{
Caption="Cell"
Type=2
}
Add(CheckBox,645625,840,427)
{
Left=10
Top=260
Width=85
Color=-16777192
Font=[MS Sans Serif,12,1,0,1]
TabOrder=-1
Point(doLeft)
Point(doTop)
Point(doWidth)
Point(doHeight)
Point(doVisible)
Point(doBringToFront)
Point(onKeyUp)
Point(doCaption)
link(onCheck,3938954:onEnter,[(884,433)(884,443)(772,443)(772,454)])
link(onKeyUp,3938954:KeyUp,[(884,440)(884,428)(772,428)(772,440)])
}
Add(LineBreakEx,8747443,931,462)
{
Caption="SetData"
}
Add(MultiElementEx,3938954,784,427)
{
link(OutData,457242:doData,[(828,433)(828,415)(772,415)(772,398)])
link(hLeft,645625:doLeft,[])
link(hTop,645625:doTop,[])
link(hWidth,645625:doWidth,[])
link(hHeight,645625:doHeight,[])
link(Visible,645625:doVisible,[])
link(BringToFront,645625:doBringToFront,[(828,482)(828,475)])
link(SetData,14516440:doEvent,[(851,496)(851,468)])
link(SetTableFocus,4165332:doWork,[])
link(NextEscCell,6367634:doWork,[(828,510)(828,517)])
}
BEGIN_SDK
Add(EditMultiEx,13731564,21,21)
{
WorkCount=#7:MT_Data|5:KeyUp|7:EscCell|7:onEnter|
EventCount=#7:OutData|5:hLeft|4:hTop|6:hWidth|7:hHeight|7:Visible|8:SetFocus|12:BringToFront|8:Position|7:SetData|13:SetTableFocus|11:NextEscCell|
Width=391
Height=263
link(MT_Data,15304083:doEvent1,[(56,27)(56,41)])
link(KeyUp,6010059:doCase,[(75,34)(75,237)])
link(EscCell,341937:doEvent1,[(59,41)(59,139)])
link(onEnter,4351617:doEvent1,[(59,48)(59,195)])
}
Add(MT_Get,5539460,203,112)
{
link(onData,9485453:doGet,[(247,118)(247,136)(191,136)(191,153)])
link(onGet,8134628:doOperation,[])
}
Add(MT_Get,9485453,203,147)
{
link(onGet,14006946:doOperation,[])
}
Add(MT_Get,11154206,203,77)
{
link(onData,5539460:doGet,[(247,83)(247,101)(191,101)(191,118)])
link(onGet,16197283:doOperation,[])
}
Add(MT_Get,12262886,203,42)
{
link(onData,11154206:doGet,[(247,48)(247,66)(191,66)(191,83)])
link(onGet,3620842:doOperation,[])
}
Add(Hub,15304083,91,35)
{
OutCount=5
link(onEvent1,13731564:OutData,[(250,41)(250,27)])
link(onEvent2,12262886:doGet,[])
link(onEvent3,13731564:SetFocus,[(267,55)(267,69)])
link(onEvent4,13731564:BringToFront,[(267,62)(267,76)])
link(onEvent5,15555981:doData,[])
}
Add(Case,6010059,203,231)
{
Value=Integer(27)
DataOnTrue=Integer(0)
link(onTrue,8454885:doEvent1,[])
}
Add(DoData,16170247,203,196)
{
Data=Integer(0)
link(onEventData,3194813:doWork2,[])
}
Add(Hub,8454885,259,238)
{
link(onEvent1,3194813:doWork3,[(354,244)])
link(onEvent2,13731564:SetTableFocus,[(379,251)(379,97)])
}
Add(HubEx,3194813,350,196)
{
Angle=3
link(onEvent,13731564:Visible,[(354,62)])
}
Add(HubEx,9909078,168,196)
{
link(onEvent,16170247:doData,[])
}
Add(DoData,15555981,144,63)
{
Data=Integer(0)
link(onEventData,13731564:Position,[(294,69)(294,83)])
}
Add(Hub,4351617,98,189)
{
link(onEvent1,13731564:SetData,[(271,195)(271,90)])
link(onEvent2,9909078:doWork2,[])
}
Add(Hub,341937,98,133)
{
link(onEvent1,9909078:doWork1,[(172,139)])
link(onEvent2,13731564:NextEscCell,[(271,146)(271,104)])
}
Add(Math,3620842,256,49)
{
Op2=2
ResultType=0
link(onResult,13731564:hLeft,[(350,55)(350,34)])
}
Add(Math,16197283,256,84)
{
Op2=2
ResultType=0
link(onResult,13731564:hTop,[(350,90)(350,41)])
}
Add(Math,8134628,256,119)
{
OpType=1
Op2=4
ResultType=0
link(onResult,13731564:hWidth,[(350,125)(350,48)])
}
Add(Math,14006946,256,154)
{
OpType=1
Op2=4
ResultType=0
link(onResult,13731564:hHeight,[(350,160)(350,55)])
}
END_SDK
Add(LineBreakEx,4165332,840,497)
{
Caption="SetFocus"
}
Add(LineBreakEx,6296065,665,441)
{
Caption="NexrEscCell_1"
Type=1
link(OnEvent,3938954:EscCell,[])
}
Add(LineBreakEx,6367634,840,511)
{
Caption="NexrEscCell_2"
}
Add(LineBreakEx,3854175,665,427)
{
Caption="MT_Data_1"
Type=1
link(OnEvent,3938954:MT_Data,[])
}
Add(LineBreakEx,6197563,784,616)
{
Caption="Cell"
Type=2
}
Add(MultiElementEx,866868,784,679)
{
link(OutData,5354186:doData,[(828,685)(828,667)(772,667)(772,650)])
link(hLeft,3501412:doLeft,[])
link(hTop,3501412:doTop,[])
link(hWidth,3501412:doWidth,[])
link(Visible,3501412:doVisible,[])
link(BringToFront,3501412:doBringToFront,[])
link(SetData,12464873:doData,[(832,748)(832,755)])
link(SetTableFocus,2092162:doWork,[(832,755)(832,790)])
link(NextSel3,10086997:doWork,[(884,762)(884,776)])
}
BEGIN_SDK
Add(EditMultiEx,13264431,21,21)
{
WorkCount=#7:MT_Data|5:KeyUp|7:EscCell|7:onEnter|
EventCount=#7:OutData|5:hLeft|4:hTop|6:hWidth|7:hHeight|7:Visible|8:SetFocus|12:BringToFront|8:Position|7:SetData|13:SetTableFocus|8:NextSel3|
Width=391
Height=277
link(MT_Data,6220925:doEvent1,[(56,27)(56,41)])
link(KeyUp,1777653:doCase,[(75,34)(75,237)])
link(EscCell,7216355:doEvent1,[(48,41)(48,202)])
link(onEnter,15492628:doEvent1,[(59,48)(59,174)])
}
Add(MT_Get,2382797,203,112)
{
link(onData,4670381:doGet,[(247,118)(247,136)(191,136)(191,153)])
link(onGet,13264431:hWidth,[(280,125)(280,48)])
}
Add(MT_Get,4670381,203,147)
{
link(onGet,13264431:hHeight,[(323,160)(323,55)])
}
Add(MT_Get,12566475,203,77)
{
link(onData,2382797:doGet,[(247,83)(247,101)(191,101)(191,118)])
link(onGet,13264431:hTop,[(280,90)(280,41)])
}
Add(MT_Get,528165,203,42)
{
link(onData,12566475:doGet,[(247,48)(247,66)(191,66)(191,83)])
link(onGet,13264431:hLeft,[(280,55)(280,34)])
}
Add(Hub,6220925,91,35)
{
OutCount=5
link(onEvent1,13264431:OutData,[(250,41)(250,27)])
link(onEvent2,528165:doGet,[])
link(onEvent3,13264431:SetFocus,[(267,55)(267,69)])
link(onEvent4,13264431:BringToFront,[(267,62)(267,76)])
link(onEvent5,11234906:doData,[])
}
Add(Case,1777653,203,231)
{
Value=Integer(27)
DataOnTrue=Integer(0)
link(onTrue,7950987:doEvent1,[])
}
Add(DoData,14327129,203,196)
{
Data=Integer(0)
link(onEventData,16696880:doWork2,[])
}
Add(Hub,7950987,259,238)
{
link(onEvent1,16696880:doWork3,[(354,244)])
link(onEvent2,13264431:SetTableFocus,[(379,251)(379,97)])
}
Add(HubEx,16696880,350,196)
{
Angle=3
link(onEvent,13264431:Visible,[(354,62)])
}
Add(HubEx,13101722,154,196)
{
link(onEvent,14327129:doData,[])
}
Add(DoData,11234906,144,63)
{
Data=Integer(0)
link(onEventData,13264431:Position,[(294,69)(294,83)])
}
Add(Hub,15492628,98,168)
{
link(onEvent1,13264431:SetData,[(271,174)(271,90)])
link(onEvent2,13101722:doWork1,[(158,181)])
}
Add(Hub,7216355,126,196)
{
link(onEvent1,13101722:doWork2,[])
link(onEvent2,13264431:NextSel3,[(276,209)(276,104)])
}
END_SDK
Add(LineBreakEx,1417514,896,749)
{
Caption="SetData"
}
Add(DoData,12464873,847,749)
{
link(onEventData,1417514:doWork,[])
link(Data,3501412:String,[])
}
Add(DoData,5354186,784,644)
{
link(onEventData,3501412:doSelectString,[(828,650)(828,727)])
link(Data,6197563:getVar,[])
}
Add(ComboBox,3501412,840,644)
{
Left=10
Top=260
Width=150
Height=21
Color=-16777192
Font=[MS Sans Serif,12,1,0,1]
Visible=1
Ctl3D=0
Strings=#5:aaaaa|4:bbbb|4:cccc|5:ddddd|5:eeeee|5:fffff|4:gggg|4:hhhh|5:iiiii|6:jjjjjj|
Text=""
ReadOnly=0
Point(doLeft)
Point(doTop)
Point(doWidth)
Point(doHeight)
Point(doVisible)
Point(onKeyUp)
Point(doSelectString)
Point(doBringToFront)
link(onClick,866868:onEnter,[(884,657)(884,681)(772,681)(772,706)])
link(onKeyUp,866868:KeyUp,[(884,664)(884,678)(772,678)(772,692)])
}
Add(LineBreakEx,5588180,665,693)
{
Caption="NexrEscCell_2"
Type=1
link(OnEvent,866868:EscCell,[])
}
Add(LineBreakEx,2092162,847,784)
{
Caption="SetFocus"
}
Add(InfoTip,14064710,651,581)
{
Info=#0:|8:ComboBox|
Font=[MS Sans Serif,12,1,8421376,1]
Frame=3
Width=400
Height=228
}
Add(LineBreakEx,10628137,665,679)
{
Caption="MT_Data_3"
Type=1
link(OnEvent,866868:MT_Data,[])
}
Add(LineBreakEx,3791102,448,203)
{
Caption="MT_Data_2"
}
Add(ColorDialog,3730654,1519,196)
{
link(onSelect,14560438:doEvent1,[(1556,202)(1556,104)])
link(Color,15806723:Value,[])
}
Add(Memory,15806723,1519,133)
{
}
Add(Hub,14560438,1561,98)
{
link(onEvent1,11254634:doAdd,[(1589,104)(1589,111)])
link(onEvent2,4948489:doWork1,[(1586,111)])
}
Add(ColorBox,11254634,1603,105)
{
Left=90
Top=135
Width=95
Height=21
Visible=1
DefColor=-16777211
FormatColor=1
Point(doLeft)
Point(doTop)
Point(doWidth)
Point(doVisible)
Point(doBringToFront)
Point(onKeyUp)
Point(onMouseDown)
Point(onDblClick)
link(onClick,7822556:onEnter,[(1647,111)(1647,167)(1388,167)(1388,223)])
link(onKeyUp,7822556:KeyUp,[(1647,118)(1647,164)(1388,164)(1388,209)])
link(onMouseDown,2020159:doEvent1,[])
}
Add(Hub,9709139,1631,287)
{
}
Add(IndexToChanel,1126218,1680,119)
{
Count=3
Point(Index)
link(onEvent2,3730654:doOpen,[(1724,132)(1724,167)(1507,167)(1507,202)])
}
Add(Hub,2020159,1652,119)
{
link(onEvent1,1126218:doEvent,[])
}
Add(ArrayRW,7416674,1078,364)
{
link(Array,7138192:Array,[])
link(Index,565131:Var3,[(1091,338)(631,338)(631,425)])
}
Add(StrList,7138192,1064,308)
{
Strings=#1:0|1:0|1:2|1:1|1:3|
}
Add(GetDataEx,565131,301,420)
{
link(Data,14706494:Index,[(307,376)(293,376)])
}
Add(MT_IndexToChanel,8270549,392,238)
{
Count=4
Point(Index)
link(onEvent1,3791102:doWork,[(436,244)(436,209)])
link(onEvent2,15842762:doWork,[])
link(onEvent3,11948546:doWork,[(436,258)(436,272)])
link(onEvent4,15048103:doWork,[(440,265)(440,293)])
link(Index,7416674:Item,[(398,226)(741,226)(741,408)(1084,408)])
}
Add(Hub,15790137,350,231)
{
link(onEvent1,7416674:doRead,[(651,237)(651,370)])
link(onEvent2,8270549:doEvent,[])
}
Add(Message,8307697,1365,560)
{
}
Add(LineBreakEx,15048103,455,287)
{
Caption="MT_Data_4"
}
Add(LineBreakEx,8216004,1407,126)
{
Caption="Cell"
Type=2
}
Add(MultiElementEx,7822556,1400,196)
{
link(OutData,12918578:doData,[(1451,202)(1451,177)(1395,177)(1395,160)])
link(hLeft,11254634:doLeft,[(1521,209)(1521,139)])
link(hTop,11254634:doTop,[(1521,216)(1521,146)])
link(hWidth,11254634:doWidth,[(1521,223)(1521,153)])
link(Visible,11254634:doVisible,[(1521,237)(1521,160)])
link(BringToFront,11254634:doBringToFront,[(1521,251)(1521,167)])
link(SetData,2379614:doData,[])
link(SetTableFocus,15668929:doWork,[(1455,272)(1455,300)])
}
BEGIN_SDK
Add(EditMultiEx,7778297,21,21)
{
WorkCount=#7:MT_Data|5:KeyUp|7:EscCell|7:onEnter|
EventCount=#7:OutData|5:hLeft|4:hTop|6:hWidth|7:hHeight|7:Visible|8:SetFocus|12:BringToFront|8:Position|7:SetData|13:SetTableFocus|
Width=391
Height=277
link(MT_Data,7048044:doEvent1,[(56,27)(56,41)])
link(KeyUp,10701441:doCase,[(75,34)(75,237)])
link(EscCell,3168242:doWork2,[(48,41)(48,202)])
link(onEnter,11434827:doEvent1,[(59,48)(59,174)])
}
Add(MT_Get,3813841,203,112)
{
link(onData,4627277:doGet,[(247,118)(247,136)(191,136)(191,153)])
link(onGet,7778297:hWidth,[(280,125)(280,48)])
}
Add(MT_Get,4627277,203,147)
{
link(onGet,7778297:hHeight,[(323,160)(323,55)])
}
Add(MT_Get,7216140,203,77)
{
link(onData,3813841:doGet,[(247,83)(247,101)(191,101)(191,118)])
link(onGet,7778297:hTop,[(280,90)(280,41)])
}
Add(MT_Get,13772392,203,42)
{
link(onData,7216140:doGet,[(247,48)(247,66)(191,66)(191,83)])
link(onGet,7778297:hLeft,[(280,55)(280,34)])
}
Add(Hub,7048044,91,35)
{
OutCount=5
link(onEvent1,7778297:OutData,[(250,41)(250,27)])
link(onEvent2,13772392:doGet,[])
link(onEvent3,7778297:SetFocus,[(267,55)(267,69)])
link(onEvent4,7778297:BringToFront,[(267,62)(267,76)])
link(onEvent5,2997286:doData,[])
}
Add(Case,10701441,203,231)
{
Value=Integer(27)
DataOnTrue=Integer(0)
link(onTrue,4143567:doEvent1,[])
}
Add(DoData,1045501,203,196)
{
Data=Integer(0)
link(onEventData,10942175:doWork2,[])
}
Add(Hub,4143567,259,238)
{
link(onEvent1,10942175:doWork3,[(354,244)])
link(onEvent2,7778297:SetTableFocus,[(379,251)(379,97)])
}
Add(HubEx,10942175,350,196)
{
Angle=3
link(onEvent,7778297:Visible,[(354,62)])
}
Add(HubEx,3168242,154,196)
{
link(onEvent,1045501:doData,[])
}
Add(DoData,2997286,144,63)
{
Data=Integer(0)
link(onEventData,7778297:Position,[(294,69)(294,83)])
}
Add(Hub,11434827,98,168)
{
link(onEvent1,7778297:SetData,[(271,174)(271,90)])
link(onEvent2,3168242:doWork1,[(158,181)])
}
END_SDK
Add(LineBreakEx,5355960,1519,259)
{
Caption="SetData"
}
Add(DoData,2379614,1470,259)
{
link(onEventData,5355960:doWork,[])
link(Data,11254634:CurrentColor,[(1476,215)(1609,215)])
}
Add(DoData,12918578,1407,154)
{
link(onEventData,4948489:doWork2,[(1521,160)(1521,118)])
link(Data,8216004:getVar,[])
}
Add(LineBreakEx,12082882,1225,210)
{
Caption="NexrEscCell_3"
Type=1
link(OnEvent,15674900:doEvent1,[])
}
Add(LineBreakEx,15668929,1470,294)
{
Caption="SetFocus"
}
Add(InfoTip,8096525,1232,70)
{
Info=#0:|8:ColorBox|
Font=[MS Sans Serif,12,1,8421376,1]
Frame=3
Width=505
Height=319
}
Add(LineBreakEx,14380590,1288,189)
{
Caption="MT_Data_4"
Type=1
link(OnEvent,7822556:MT_Data,[(1383,195)(1383,202)])
}
Add(HubEx,4948489,1582,112)
{
link(onEvent,11254634:doSelectColor,[])
}
Add(LineBreakEx,10086997,924,770)
{
Caption="NexrEscCell_3"
}
Add(Hub,14563086,154,168)
{
link(onEvent1,8724013:doValue,[])
}
Add(LineBreakEx,13491418,1421,497)
{
Caption="MT_Data_4"
}
Add(RGB,14522520,1435,588)
{
}
Add(ToRGB,9489697,1344,623)
{
}
Add(KeyEvent,9311369,924,175)
{
Code=13
link(Handle,6758026:Handle,[(930,121)(62,121)])
}
Add(Hub,15674900,1337,210)
{
link(onEvent1,7822556:EscCell,[])
}
Add(Timer,8352735,1330,455)
{
Interval=3000
}
END_SDK
Ответов: 1291
Рейтинг: 47
|
|||
Спасите памагите) Как сделать чтобы после выбора цвета Color в таблице он же и отображался прямоугольничком, а не цифровым значением?
|
|||
карма: 3 |
|