Add(MainForm,2953706,287,91) { Height=258 } Add(ChildPanel,49836,217,91) { link(onEvent1,2953706:doCaption,[]) } BEGIN_SDK Add(EditMulti,13658936,0,0) { EventCount=1 VarCount=1 Width=437 Height=269 VOffset=105 HOffset=203 link(Var1,12051717:Value,[]) } Add(ChildPanel,6654286,147,35) { link(onEvent1,2685812:doWork1,[(198,41)(198,23)(62,23)(62,41)]) link(onEvent2,5437962:doWork1,[(198,48)]) link(onEvent3,6225858:doEvent1,[]) } BEGIN_SDK Add(EditMulti,5631240,3,3) { EventCount=3 WorkCount=2 VarCount=1 Width=426 link(doWork1,13311576:doSetFocus,[(78,9)(78,76)]) link(Var1,2928752:Var1,[(9,131)]) link(doWork2,13311576:doText2,[(89,16)(89,62)]) } Add(Panel,736348,28,21) { Left=22 Width=17 Height=16 BevelInner=0 Point(doColor) } Add(Edit,13311576,112,49) { Left=-1 Top=-1 Width=20 Height=18 Ctl3D=1 Text="59" DataType=1 MaxLenField=2 Point(onSetFocus) Point(doSelectAll) Point(doSetFocus) link(onChange,13419557:doEvent1,[]) link(onSetFocus,1805256:doEvent1,[(156,69)(156,90)]) } Add(Length,3441382,217,21) { link(onLength,1844412:doCompare,[]) } Add(If_else,1844412,280,21) { Type=4 Op2=Integer(2) link(onTrue,5631240:onEvent1,[(329,27)(329,9)]) } Add(Hub,13419557,168,49) { link(onEvent1,3441382:doLength,[(200,55)(200,27)]) link(onEvent2,13529878:doEvent1,[(200,62)(200,83)]) } Add(Timer,7669596,28,63) { Interval=10 Enable=1 AutoStop=1 link(onTimer,13311576:doSelectAll,[]) } Add(Hub,1805256,168,84) { link(onEvent1,13529878:doEvent2,[]) link(onEvent2,7669596:doTimer,[(193,97)(193,111)(16,111)(16,69)]) } Add(DoData,15825076,280,77) { Data=Integer(59) link(onEventData,5631240:onEvent3,[(380,83)(380,23)]) } Add(DoData,14351084,280,140) { Data=Integer(0) link(onEventData,5631240:onEvent2,[(350,146)(350,16)]) link(Data,2928752:Var3,[(286,131)]) } Add(GetDataEx,2928752,112,126) { link(Data,13311576:Text,[]) } Add(Hub,13529878,217,77) { InCount=2 link(onEvent1,15825076:doData,[]) link(onEvent2,14351084:doData,[(242,90)(242,146)]) } END_SDK Add(ChildPanel,2685812,77,35) { link(onEvent1,6654286:doWork1,[]) link(onEvent2,5437962:doWork2,[(129,48)(129,111)]) link(onEvent3,7342774:doEvent1,[(120,55)(120,83)]) } BEGIN_SDK Add(EditMulti,4753050,3,3) { EventCount=3 WorkCount=2 VarCount=1 Width=398 Height=179 link(doWork1,5335968:doSetFocus,[(80,9)(80,76)]) link(Var1,7839798:Var1,[(9,107)]) link(doWork2,5335968:doText2,[(90,16)(90,62)]) } Add(Panel,15655530,14,21) { Width=18 Height=16 BevelInner=0 Point(doColor) } Add(Edit,5335968,112,49) { Left=-1 Top=-1 Width=20 Height=18 Ctl3D=1 Text="12" DataType=1 MaxLenField=2 Point(onSetFocus) Point(doSelectAll) Point(doSetFocus) link(onChange,6042712:doEvent1,[]) link(onSetFocus,13200906:doEvent1,[(152,69)(152,90)]) } Add(Length,1466466,217,21) { link(onLength,3096530:doCompare,[]) } Add(If_else,3096530,280,21) { Type=4 Op2=Integer(2) link(onTrue,4753050:onEvent1,[(336,27)(336,9)]) } Add(Hub,6042712,161,49) { link(onEvent1,1466466:doLength,[(190,55)(190,27)]) link(onEvent2,6724187:doEvent1,[(193,62)(193,83)]) } Add(Timer,11588844,28,63) { Interval=10 Enable=1 AutoStop=1 link(onTimer,5335968:doSelectAll,[]) } Add(Hub,13200906,161,84) { link(onEvent1,6724187:doEvent2,[]) link(onEvent2,11588844:doTimer,[(185,97)(185,122)(18,122)(18,69)]) } Add(DoData,2161926,280,77) { Data=Integer(24) link(onEventData,4753050:onEvent3,[(389,83)(389,23)]) } Add(DoData,4496422,252,126) { Data=Integer(0) link(onEventData,4753050:onEvent2,[(363,132)(363,16)]) link(Data,7839798:Var3,[(258,107)]) } Add(GetDataEx,7839798,112,102) { link(Data,5335968:Text,[]) } Add(Hub,6724187,210,77) { InCount=2 link(onEvent1,2161926:doData,[]) link(onEvent2,4496422:doData,[(238,90)(238,132)]) } END_SDK Add(Panel,5712760,14,21) { Left=150 Top=90 Width=63 Height=22 Color=16777215 BorderStyle=1 BevelInner=0 Point(doColor) } Add(Memory,12051717,203,210) { link(onData,13658936:onEvent1,[(408,216)(408,111)]) } Add(FormatStr,1280930,140,210) { DataCount=4 Mask="%1:%2" link(onFString,12051717:doValue,[]) link(Str1,15896715:Var,[(146,202)(104,202)]) link(Str2,7674469:Var,[]) } Add(Timer,15752506,42,161) { Interval=100 link(onTimer,15896715:doConvert,[]) } Add(Label,15415423,14,84) { Left=16 Width=2 Height=17 Color=16777215 Font=[MS Sans Serif,8,1,0,1] Cursor=1 Caption=":" } Add(UpDown,11811668,280,105) { Left=40 Top=-1 Width=18 Height=18 Point(doMax) link(onPosition,16435489:doEvent,[]) } Add(IndexToChanel,16435489,329,105) { Point(Index) link(onEvent1,6654286:doWork2,[(375,111)(375,14)(135,14)(135,48)]) link(onEvent2,2685812:doWork2,[(376,118)(376,155)(64,155)(64,48)]) link(Index,6055509:Value,[]) } Add(ChanelToIndex,5395006,280,49) { link(onIndex,6055509:doValue,[]) } Add(Hub,7342774,217,77) { link(onEvent1,5395006:doWork2,[(259,83)(259,62)]) link(onEvent2,13265794:doWork2,[]) } Add(HubEx,13265794,245,84) { link(onEvent,11811668:doMax,[(265,90)(265,118)]) } Add(Hub,6225858,217,49) { link(onEvent1,5395006:doWork1,[]) link(onEvent2,13265794:doWork1,[(249,62)]) } Add(Memory,6055509,329,49) { Default=Integer(1) } Add(HubEx,5437962,194,105) { link(onEvent,11811668:doPosition,[]) } Add(ConvertorEx,15896715,98,161) { SymbolFill="0" link(onResult,7674469:doConvert,[]) link(Data,2685812:Var1,[(104,110)(83,110)]) } Add(ConvertorEx,7674469,147,161) { SymbolFill="0" link(onResult,1280930:doString,[(188,167)(188,250)(128,250)(128,216)]) link(Data,6654286:Var1,[]) } END_SDK Add(Label,6951611,98,91) { Left=85 Top=35 Width=184 Height=17 Caption="при вводе отображало как в шапке" } Add(Label,13085259,155,91) { Left=85 Top=55 Width=146 Height=17 Caption="Пример : 12:00 или 00:59" }