4 типа контролов в таблице по 2 клику появляются, если на цвете после 2 клика щелкнуть левой мышью, можно выбрать кастомный цвет. Выдается также название цвета (взял из исходников).
Кто может доработать чтобы при выборе кастомного цвета, выдавалась надпись Custom в ячейку? Чето не вышло пока у меня.
Add(InfoTip,4142039,210,77)
{
Info=#33:Некое подобие инспектора свойств.|89:Динамически создаваемая по столбцам таблица, с целью независимого управления цветом ячеек|65:Переделка схемы от wasya https://forum.hiasm.com/profilemain/4914|48:Взята отсюда https://forum.hiasm.com/topic/64828|29:by Aziz 9.4.2020 21:33 Москва|
Width=337
Height=165
}
Add(MainForm,2953706,21,105)
{
Position=1
link(onCreate,743441:doEvent1,[])
}
Add(ChildPanel,15852685,231,108)
{
}
BEGIN_SDK
Add(EditMulti,10696998,91,21)
{
WorkCount=1
Width=1322
Height=732
link(doWork1,7256204:doEvent1,[(98,27)(98,104)])
}
Add(Panel,6607686,161,35)
{
Top=-1
Width=241
Height=303
}
Add(For,6384714,133,98)
{
End=1
link(onEvent,8960886:doEvent1,[])
link(onStop,10018012:doWork2,[(351,111)(351,104)])
}
Add(Hub,8960886,203,98)
{
InCount=2
OutCount=5
link(onEvent1,10018012:doWork1,[(363,104)(363,97)])
link(onEvent2,13910989:doWork2,[])
link(onEvent3,10018012:doWork4,[])
link(onEvent4,16734722:doIndex,[(361,125)(361,55)])
}
Add(MT_String,11668659,441,203)
{
link(onResult,10018012:doWork5,[(491,209)(491,125)])
}
Add(DoData,10166039,504,203)
{
Data=Integer(0)
link(onEventData,13136811:doEvent1,[])
link(Data,11710805:Var2,[])
}
Add(Hub,11800359,574,91)
{
OutCount=6
link(onEvent1,9833325:doValue,[(616,97)(616,90)])
link(onEvent3,5263801:doWork2,[(734,111)(734,97)])
link(onEvent4,9298536:doOperation,[(724,118)(724,125)])
link(onEvent5,8063085:doValue,[(679,125)(679,237)])
link(onEvent6,1850697:doWork1,[])
}
Add(Hub,7256204,105,98)
{
link(onEvent1,6384714:doFor,[])
}
Add(ComboBox,9613111,1015,49)
{
Left=1
Top=23
Width=86
Height=21
Color=16777215
Font=[MS Sans Serif,10,0,0,204]
WinStyle=1
Strings=#1: |1:1|1:2|1:3|1:4|1:5|1:6|1:7|1:8|1:9|2:10|2:11|2:12|2:да|3:нет|
AddType=1
Text=""
Point(doLeft)
Point(doBringToFront)
Point(doSendToBack)
Point(doTop)
Point(doSelect)
Point(onSelect)
link(onClick,2853483:doEvent1,[])
}
Add(MultiSetParam,8588444,805,91)
{
@Hint=#11:Длина ячеек|
Parameters=#1:0|2:86|
Count=1
link(onSet1,2884678:doEvent1,[(926,97)(926,84)])
}
Add(Hub,5232156,609,203)
{
InCount=2
OutCount=3
link(onEvent1,13910989:doWork3,[(628,209)(628,168)(417,168)])
link(onEvent2,8408923:In,[])
link(onEvent3,8588444:doSet,[(715,223)(715,97)])
}
Add(FormatStr,16540219,693,301)
{
DataCount=3
Mask="%1;#%2;%3"
link(onFString,14747921:In,[])
link(Str1,8063085:Value,[])
link(Str2,12908668:Var,[(706,236)(1098,236)])
link(Str3,5038383:getVar,[])
}
Add(MultiSetParam,10335200,1351,462)
{
Parameters=#0:|7:4079359|7:6579455|7:8421631|7:4227327|7:4892159|7:8569087|8:10801663|8:10223615|7:5898239|7:8454016|7:8190208|7:7925760|8:12550399|8:16758122|8:14935011|
Count=1
Point(Index)
}
Add(LineBreak,5753462,609,301)
{
Caption="Color"
Color=8454143
link(Out,16540219:doString,[])
Primary=[7681520,511,-245]
}
Add(Memory,8063085,693,231)
{
}
Add(DoData,13337781,322,301)
{
link(onEventData,4607504:doWork2,[])
link(Data,2029769:Index,[(328,287)(304,287)(304,345)(279,345)])
}
Add(LineBreakEx,5038383,707,273)
{
Caption="Var1"
Type=2
}
Add(LineBreakEx,12090452,1015,210)
{
Caption="Var1"
Type=3
link(_Data,887152:Var,[])
}
Add(Hub,2853483,1085,56)
{
InCount=4
link(onEvent1,7681520:In,[])
link(onEvent2,5263801:doWork1,[(1111,69)(1111,81)(879,81)])
}
Add(HubEx,5263801,875,91)
{
link(onEvent,6666179:doEvent1,[(908,97)(908,104)])
}
Add(LineBreak,12144646,378,210)
{
Caption="Str"
Color=8453888
link(Out,11668659:doMT,[(424,216)(424,216)])
Primary=[14747921,378,91]
}
Add(MultiSetParam,7231440,1358,413)
{
Parameters=#1:0|2:21|2:61|2:81|3:101|3:121|3:141|3:161|3:181|3:201|3:221|3:241|3:261|3:281|3:301|0:|
Count=1
}
Add(ChanelToIndex,1850697,602,126)
{
Count=1
link(onIndex,9613111:doSelect,[(787,132)(787,111)])
}
Add(ChildPanel,10018012,504,91)
{
link(onEvent1,11800359:doEvent1,[])
link(onEvent2,10166039:doData,[(553,104)(553,157)(497,157)(497,209)])
link(onEvent4,5660955:doEvent,[(663,118)(663,167)])
link(Data1,16734722:Var,[])
}
BEGIN_SDK
Add(EditMulti,2673582,168,28)
{
EventCount=5
WorkCount=10
DataCount=1
VarCount=3
Width=287
Height=167
VOffset=10
link(doWork1,9762865:##add,[])
link(doWork2,4026931:doResize,[])
link(doWork3,9762865:##select,[(195,58)(195,51)])
link(doWork4,9762865:doAdd,[(205,65)(205,86)])
link(doWork5,9762865:doMT_Replace,[(195,72)(195,93)])
link(doWork6,9762865:Data,[(195,79)(195,100)])
link(doWork7,9762865:doSelect,[(195,86)(195,107)])
link(doWork8,9762865:doMT_AlignTxtCol,[(195,93)(195,114)])
link(doWork9,9762865:doAdd1,[(195,100)(195,121)])
link(Var1,9762865:##eventIndex,[(174,160)(255,160)])
link(Var2,9762865:Strings1,[(181,160)(283,160)])
link(Var3,9762865:Select,[(188,160)(290,160)])
link(doWork10,9762865:doReplace,[(205,107)(205,128)])
}
Add(Panel,6988604,315,87)
{
Top=2
Width=510
Height=281
Color=-16777212
WinStyle=1
BevelInner=0
Point(doSendToBack)
}
Add(GridLayout,4026931,189,45)
{
Name="grid"
Rows=1
Cols=31
Point(doSort)
}
Add(Icon,11832910,315,42)
{
@Hint=#5:#main|
Icon=[ZIP9E09000078DABD956B6C536518C7EB37C1C4443F90A9D118C5443408134488894AA23151893111EF801A880124121963636C5C8630D898EBEE83DDBB6EEBD676EB6D6BD7AEEBBD5D5BB6B6DBBAB6DBE83AC61C735C7562F8F2F7398FAC44881FF16D7ECDFF3CEDF99FE7FCDFF73D47247A883E292922FA7E5694B744245A2612895E24A8245A2DFAA7CEE371D17D030F78FC3677192AA50C5D6A39A353B72759AC693BDBA1E95440DD495A25BFEFBFF76A01C1738EBCA3A323C83B9E09B5B2093A550B23939443D654953CFEF8AB223CF7A611CBDF3662FBEE5274CA1BB9DE2E3D87E6FA12D68AD66A48EB8A590B5EA77233118D8C2046948B4FC2DF6F45E0BC93E9332860D0B4C2633730BBF714E0B31D5A2633B318D65E0DD78D5D6DD07534B036EBE9DE1475AC1D161D4ACE1C432C1A66FF8AE23CF61D0AF4335653073A64E760A2F30576FE50804FB6EBB079870E0732C4E85249B9AE6AAF81425ACE5AABA887BCA98CB541D382C2BCACA47F65E96984021E8C0CF9111EF2C16156C3D6AB4568D0C37CFE4D195E7AC78A97DFB562CFBE5AF83C56AE3B2DDDE8ED96B376DFB91F410FFA1DA82C3995F43F5B96CFDED1D100E3B2EAA06AABE17B1648DFFF33F61D94212D4B86A339F9D06B9AB9AEA13C942D15AC859C14CDE5AC8D3A197E397528E97FAEE20C22E1418CC786198F5D4F19ABA9173782C4A7DBCA686EAD7861E362FF7D5477C1D1A783A9BB8DB5CBD6CDBE821EF0D95049992FFA575716622C1A427C3CCC789D3D306865F0388C4C5ADA49ECCD503087730A6133EBB86EEC16FA6E646D3628A15536B0765AF52829CC4DFAD79E2DC2858930A626C7309518C3794F2F2C3D4A047C5604892DDBCB91FABE05AF7E60C54F19357CFDA0DF0A7BAF0A266D0B6B679F063D1A296BE1FC0AF189A47FDDB96224E2315C9A8E33835E0B3C4E13DF532C12C2F7BB8BB0699B019BB6EA91995585A1A0977E1BE29CEC660DEB01AF8DD69D8AF5E8C80067BEE85F5F5D828B5313989D9962027E1BF4EA26B8699E05F6EC3D832F776AF1F52E2D0E6597C26254525D8B1EEA5DA7A865DDDB2583465ECDDA6E56A1B8E048D2BFB1B60CBFCE24303F37C30C0F3A3112F2616EF612314DF954E095F7EC4CDA4109E73877791A11EA73A0DFC27A2C1284DF63662D6420782EFA4BEA2BA87E0957AF5C26E6100E7AD047F90FD23A18A4FCD30F14202D5B8BFD395AE41E2BA139ECE1BA908791EE41D00ECADF40F90BDAE7EEA567C2DDFC9B1A2A313F3F8B1BD7AFE03A313AECE33536351963366F2D47CA6B263C41EC4D6FE45EA712315ABF2EBA9681F530F5E4B675B1BE304E734A6B66D1BFB9F12CAE5F9BC7C21F379858F83CCD811DD3B49604F24F57A2AAD6C69496D46382F688501F0EF6C34FBD0A5AE8C9EB32B28E4F8CD29A1127FD5B9AAAF1FBCD6BB8756B81198F06F819150E7999019F135EB79D70D0DE17E6C67B877E8CD035EED5A10117AA4AEF3E1F5AA535F873E1266EDFBEC5C4C7863897C5E37FF3D71DFE5B2F90978C3C05FF683884FAA21C4C074C981FB5E06AC482885D8A68BF1C73934ECC265C989972E3D2450F2E1289849B3276530E6ECC4CBA301B77626EC28EF9311BAED0B982C774D08806710E62A34388D25E39FCE193906C5E02FDB70FC3B57329FAD31E85E7F832B8C54FC359FD3CECCD2B6051AC44AF6A150C1DAB606C5F09B37405ACD5CB612F7E06CE1329701F780CAEDD8FC0F8DD12B47EB114B91F3D85186515A1759EBB653DDAD2DE82217303DC396B11CA5D8D68C12A8C97ADC2445D2AE2B2B598EC7C1D09DD0624BA08F57AC4E5EB70A1710D26AA521113A762E4E41AF88EAE8339FB0D74646CC4F12DEB10A1DE272762101FF91192FCFD9017ED87B62C1DA6B31970D41D8457720883CDD908B51DC1B0E21822DA7CA20023CAE318921F434076187E690E5C0D59E8ABCE447745063A8AD3213D9386A2EC5D348FA3FC8E8F0C07A16993A05B2181B1A30966B51436DA370EDAF32E7D1B3C3DEDF01A15F0D31EF25B34F09A94E8A763B7A11D4EFADDDED58A3E7A67993A9BA1A777AFB65DC29EFFC7103DE0F137DD7E345B]
}
Add(ChildPanelEx,9762865,242,38)
{
@Hint=#8:Карточка|
Mode=1
link(onClick,2673582:onEvent1,[])
link(onMouseDown,2673582:onEvent2,[])
link(onMT_CellClick,2673582:onEvent3,[])
link(onDblClick,2673582:onEvent4,[])
link(onMT_GetColors,2673582:onEvent5,[])
link(Str,2673582:Data1,[(248,33)(174,33)])
}
BEGIN_SDK
Add(EditMultiEx,1940215,63,21)
{
WorkCount=#5:##add|8:##select|9:##hdelete|9:##hselect|7:##clear|8:##delete|5:doAdd|12:doMT_Replace|4:Data|8:doSelect|16:doMT_AlignTxtCol|6:doAdd1|9:doReplace|
EventCount=#7:onClick|11:onMouseDown|14:onMT_CellClick|10:onDblClick|14:onMT_GetColors|
VarCount=#7:##index|12:##eventIndex|5:Index|7:FString|7:Strings|8:Strings1|6:Select|
DataCount=#3:Str|
Width=209
Height=263
VOffset=50
HOffset=50
Point(##add)
Point(##select)
Point(##hdelete)
Point(##hselect)
Point(##clear)
Point(##delete)
Point(##index)
Point(##eventIndex)
link(doMT_Replace,9815728:doMT_Replace,[(88,126)(88,119)])
link(doSelect,9815728:doSelect,[(88,140)(88,126)])
link(doMT_AlignTxtCol,9815728:doMT_AlignTxtCol,[(88,147)(88,133)])
link(doAdd1,9815728:doGetColors_MT,[(88,154)(88,147)])
link(Index,9815728:Index,[])
link(Strings,9815728:GenColors_MT,[(147,224)(154,224)])
link(Strings1,9815728:Strings,[(154,224)(140,224)])
link(Select,9815728:Select,[(161,218)(126,218)])
link(doReplace,9815728:doReplace,[(88,161)(88,154)])
}
Add(StringTableMT,9815728,113,92)
{
Left=-7
Top=-3
Width=94
Height=326
Font=[MS Sans Serif,10,0,0,1]
Ctl3D=1
WinStyle=1
DoubleBuffered=0
Columns=#1: |1: |
ColumnWidth=91
Style=4
Flat=1
TabGrid=0
TabGridFrame=0
Grid=0
ColorItems=0
IconsCheck=[]
MiscIcons=[]
Icons=[]
StringsStrLst=#0:|0:|0:|0:|0:|
AutoTblStrLst=0
Point(doMT_Replace)
Point(doSelect)
Point(onMouseDown)
Point(Index)
Point(Strings)
Point(onMT_CellClick)
Point(onDblClick)
Point(doMT_AlignTxtCol)
Point(doMT_ColorsStr)
Point(Matrix)
Point(GenColors_MT)
Point(onMT_GetColors)
Point(doGetColors_MT)
Point(doReplace)
link(onClick,1940215:onClick,[(215,98)(215,77)])
link(Str,1940215:Str,[])
link(onMouseDown,1940215:onMouseDown,[(215,105)(215,84)])
link(onMT_CellClick,1940215:onMT_CellClick,[(215,112)(215,91)])
link(onDblClick,1940215:onDblClick,[(215,119)(215,98)])
link(onMT_GetColors,1940215:onMT_GetColors,[(215,126)(215,105)])
}
Add(Panel,4858272,84,36)
{
Top=-1
Width=85
Height=322
Ctl3D=0
WinStyle=1
Layout="parent.grid"
BorderWidth=0
BevelInner=0
BevelWidth=0
Point(Handle)
Point(doSendToBack)
Point(doVisible)
}
END_SDK
END_SDK
Add(MultiReplace,13625474,1337,280)
{
ReplaceList="да =13;нет =14"
}
Add(LineBreakEx,12000964,525,175)
{
Caption="Var2"
Type=3
link(_Data,10018012:Var2,[])
}
Add(HubEx,13910989,413,105)
{
link(onEvent,10018012:doWork3,[])
}
Add(LineBreak,13825848,742,196)
{
Caption="Col"
Color=8421631
Primary=[8408923,-91,14]
}
Add(Timer,3383275,1323,329)
{
Interval=100
Enable=1
AutoStop=1
}
Add(Hub,13136811,567,203)
{
link(onEvent1,5232156:doEvent1,[])
}
Add(Message,8834665,1274,427)
{
}
Add(IndexToChanel,5660955,784,161)
{
Point(Index)
link(onEvent2,10908099:doEvent,[(838,174)(838,216)])
link(Index,11710805:Var3,[(790,149)(654,149)(654,187)])
}
Add(GetDataEx,11710805,504,182)
{
link(Data,10018012:Var1,[])
}
Add(IndexToChanel,1620525,791,224)
{
Point(Index)
}
Add(Edit,12373839,1022,273)
{
Left=1040
Top=185
Width=86
Height=21
Point(doLeft)
Point(doTop)
Point(doBringToFront)
Point(doSendToBack)
Point(onMouseLeave)
link(onMouseLeave,3753658:doData,[])
}
Add(Hub,2884678,945,77)
{
OutCount=4
link(onEvent1,9613111:doLeft,[])
link(onEvent2,12373839:doLeft,[(987,90)(987,293)])
link(onEvent3,14938600:doLeft,[(991,97)(991,384)])
link(onEvent4,11254634:doLeft,[(980,104)(980,503)])
}
Add(Hub,3799965,854,168)
{
}
Add(IndexToChanel,10908099,861,210)
{
Count=4
Point(Index)
link(onEvent1,9613111:doBringToFront,[(954,216)(954,90)])
link(onEvent2,12373839:doBringToFront,[(957,223)(957,307)])
link(onEvent3,14938600:doBringToFront,[(957,230)(957,391)])
link(onEvent4,11254634:doBringToFront,[(947,237)(947,531)])
link(Index,9833325:Value,[(867,163)(650,163)])
}
Add(Hub,6666179,917,98)
{
OutCount=4
link(onEvent1,9613111:doSendToBack,[(973,104)(973,97)])
link(onEvent2,12373839:doSendToBack,[(977,111)(977,314)])
link(onEvent3,14938600:doSendToBack,[(977,118)(977,398)])
link(onEvent4,11254634:doSendToBack,[(966,125)(966,538)])
}
Add(Hub,15071769,917,133)
{
OutCount=4
link(onEvent1,9613111:doTop,[(973,139)(973,104)])
link(onEvent2,12373839:doTop,[(977,146)(977,300)])
link(onEvent3,14938600:doTop,[(977,153)(977,377)])
link(onEvent4,11254634:doTop,[(966,160)(966,510)])
}
Add(Memory,9833325,644,84)
{
link(onData,887152:doIndex,[(846,90)(846,139)])
}
Add(Memory,16305730,868,42)
{
@Hint=#13:Высота ячейки|
Default=Integer(21)
}
Add(GetIndexData,887152,1015,133)
{
Count=4
link(onIndex,12908668:doIndex,[])
link(Data1,9613111:String,[(1021,125)(1028,125)])
link(Data2,1629117:Var3,[(1028,121)(1016,121)])
link(Data3,14938600:Checked,[(1035,121)(1031,121)(1031,414)(1028,414)])
link(Data4,16407227:Item,[(1042,121)(1066,121)(1066,499)(1091,499)])
}
Add(Math,9298536,861,119)
{
OpType=2
link(onResult,15071769:doEvent1,[(905,125)(905,139)])
link(Op2,16305730:Value,[])
}
Add(MathParse,7955621,1316,392)
{
MathStr="%1 * %2"
}
Add(CheckBoxRush,14938600,1022,364)
{
Left=1015
Top=375
Width=86
Height=21
Color=16777215
Caption=""
Point(doTop)
Point(doLeft)
Point(doBringToFront)
Point(doSendToBack)
link(onCheck,2853483:doEvent3,[(1070,370)(1070,76)])
}
Add(ColorDialog,3730654,952,602)
{
link(onSelect,14560438:doEvent1,[(996,608)(996,538)(947,538)(947,468)])
link(Color,10444798:Var2,[(958,588)(1014,588)])
}
Add(Memory,15806723,1246,364)
{
Point(Data)
}
Add(Hub,14560438,959,462)
{
OutCount=4
link(onEvent1,11254634:doAdd,[(987,468)(987,475)])
link(onEvent2,11254634:doSelectColor,[(984,475)(984,482)])
link(onEvent3,2037663:doWork2,[(1019,482)(1019,601)])
link(onEvent4,4007209:doData,[(1050,489)(1050,594)])
}
Add(ColorBox,11254634,1001,469)
{
Left=90
Top=135
Width=95
Height=21
DefColor=-16777211
Colors="Custom=2556"
Point(doLeft)
Point(doTop)
Point(doWidth)
Point(doVisible)
Point(doBringToFront)
Point(onKeyUp)
Point(onMouseDown)
Point(onDblClick)
Point(doSendToBack)
link(onClick,3817083:doEvent1,[])
link(onMouseDown,1126218:doEvent,[(1055,489)(1055,510)])
}
Add(IndexToChanel,1126218,1078,504)
{
Count=3
Point(Index)
link(onEvent2,3730654:doOpen,[(1122,517)(1122,563)(940,563)(940,608)])
}
Add(GetDataEx,10444798,1008,560)
{
Angle=3
link(Data,11254634:CurrentColor,[(1007,565)])
}
Add(StrList,15393639,1071,406)
{
Strings=#5:Black|6:Maroon|5:Green|5:Olive|4:Navy|6:Purple|4:Teal|4:Gray|6:Silver|3:Red|4:Lime|6:Yellow|4:Blue|7:Fuchsia|4:Aqua|5:White|10:MoneyGreen|7:SkyBlue|5:Cream|7:MedGray|12:ActiveBorder|13:ActiveCaption|12:AppWorkSpace|10:Background|7:BtnFace|12:BtnHighlight|9:BtnShadow|7:BtnText|11:CaptionText|7:Default|8:GrayText|9:Highlight|13:HighlightText|14:InactiveBorder|15:InactiveCaption|19:InactiveCaptionText|6:InfoBk|8:InfoText|4:Menu|8:MenuText|4:None|9:ScrollBar|10:3DDkShadow|7:3DLight|6:Window|11:WindowFrame|10:WindowText|
}
Add(ArrayRW,16407227,1085,455)
{
link(onRead,7850680:doEvent1,[])
link(Array,15393639:Array,[])
}
Add(Memory,1064623,1155,126)
{
}
Add(StrList,7489497,252,252)
{
Strings=#7:;Select|5:;Edit|6:;Check|6:;Color|
}
Add(ArrayRW,3089167,1288,483)
{
}
Add(IndexToChanel,1946336,175,301)
{
Count=3
Point(Index)
Point(Data)
link(onEvent1,2029769:doEnum,[])
link(onEvent2,10650205:doEnum,[(240,314)(240,426)])
link(Data,6384714:Position,[(188,215)(139,215)])
}
Add(ArrayEnum,2029769,266,301)
{
link(onItem,13337781:doData,[])
link(Array,7489497:Array,[])
}
Add(GetIndexData,12908668,1092,133)
{
Count=4
link(Data1,12156992:Var3,[(1098,121)(1140,121)])
link(Data2,14335230:Var3,[(1105,121)(1154,121)])
link(Data3,12156992:Var1,[(1112,121)(1136,121)(1136,175)])
link(Data4,1820208:Value,[(1119,121)(1101,121)(1101,639)(1084,639)])
}
Add(DoData,14397872,329,420)
{
link(onEventData,4607504:doWork3,[(368,426)])
link(Data,10650205:Index,[(335,406)(311,406)(311,464)(286,464)])
}
Add(StrList,7193908,259,371)
{
Strings=#2:;3|4:;200|4:;yes|12:#42553;Green|
}
Add(ArrayEnum,10650205,273,420)
{
link(onItem,14397872:doData,[])
link(Array,7193908:Array,[])
}
Add(HubEx,4607504,364,301)
{
link(onEvent,10018012:doWork10,[(432,307)(432,160)])
}
Add(GetIndexData,16734722,504,49)
{
link(onIndex,1946336:doEvent,[(548,55)(548,181)(163,181)(163,307)])
link(Data1,2029769:Item,[(510,30)(391,30)(391,345)(272,345)])
link(Data2,10650205:Item,[(517,37)(398,37)(398,464)(279,464)])
}
Add(GetDataEx,14335230,1148,170)
{
Angle=1
link(Data,1064623:Value,[(1161,175)])
}
Add(GetDataEx,12156992,1134,170)
{
Angle=1
link(Data,14335230:Var1,[])
}
Add(Memory,1820208,1078,595)
{
}
Add(DoData,16384017,1022,630)
{
link(onEventData,2037663:doWork3,[(1061,636)])
link(Data,10444798:Var1,[(1028,554)(1014,554)])
}
Add(Hub,3817083,1043,469)
{
OutCount=3
link(onEvent1,16407227:doRead,[(1067,475)(1067,461)])
link(onEvent2,16384017:doData,[(1069,482)(1069,559)(1010,559)(1010,636)])
}
Add(HubEx,2037663,1057,595)
{
link(onEvent,1820208:doValue,[])
}
Add(Hub,7850680,1134,455)
{
InCount=2
link(onEvent1,2853483:doEvent4,[(1160,461)(1160,268)(1073,268)(1073,83)])
}
Add(DoData,4007209,1127,588)
{
Data=String(Custom)
link(onEventData,7850680:doEvent2,[(1171,594)(1171,535)(1122,535)(1122,468)])
}
Add(InfoTip,13565989,217,217)
{
Info=#51:Имена параметров в левом столбце (не редактируются)|
Width=162
Height=137
}
Add(InfoTip,1624292,217,357)
{
Info=#60:Предустановленные параметры в правом столбце (редактируются)|
Width=323
Height=165
}
Add(InfoTip,5082564,119,77)
{
Info=#17:Чисто столбцов -1|
Width=113
Height=81
}
Add(DoData,3753658,1078,287)
{
link(onEventData,2853483:doEvent2,[(1136,293)(1136,192)(1073,192)(1073,69)])
link(Data,1629117:Var1,[(1084,275)(1007,275)(1007,330)])
}
Add(GetDataEx,1629117,1010,325)
{
Angle=1
link(Data,12373839:Text,[(1028,330)])
}
END_SDK
Add(StyleXP,2208731,168,63)
{
}
Add(Hub,743441,84,119)
{
link(onEvent1,15852685:doWork1,[(142,125)(142,114)])
}
--- Добавлено в 2020-04-09 21:27:37
Обновил схему чтобы в edit можно было вводить больше 1 символа за одну операцию)
--- Добавлено в 2020-04-09 21:32:05
Добавил копирайты)