Вверх ↑
Этот топик читают: Гость
Ответов: 58
Рейтинг: 0
#1: 2018-09-22 13:58:47 ЛС | профиль | цитата
Ребят, а как при загрузке узлов отображались иконки (то есть у меня 2 иконки: Папка,Файл, но у первого узла папка,у второго файл а у остальных нету иконок)
карма: 0

0
Ответов: 2236
Рейтинг: 676
#2: 2018-09-22 16:41:17 ЛС | профиль | цитата
VitiaCat писал(а):
а у остальных нету иконок

VitiaCat, вы не хотите выложить минимальную схему с вашей проблемой. Вы думаете вам поможет если вам без схемы будут объяснять как это сделать.
И емнп то в пакете был пример с иконками.
карма: 11

0
Ответов: 58
Рейтинг: 0
#3: 2018-09-22 17:59:19 ЛС | профиль | цитата
Вот:

Make(delphi)
ver(4.05 build 186)
Add(MainForm,2953706,21,105)
{
Width=554
Height=514
Caption="CmdsProjects"
link(onCreate,8480115:doEvent1,[])
}
Add(HilightMemo,7094704,434,91)
{
Left=120
Top=40
Width=418
Height=436
Align=5
Font=[Courier New,8,0,0,1]
HilightStrings=#
HilightFont=[Courier New,8,0,0,1]
AutoComplete=1
ReadOnly=0
SmartTabs=1
RightMargin=1
}
Add(ToolBar,1405055,70,42)
{
Width=538
Height=40
Align=2
Buttons=['Создать'=[],'Собрать'=[],'Выбрать проект'=[]]
link(onClick,3404806:doEvent,[])
}
Add(IndexToChanel,3404806,119,42)
{
Count=3
link(onEvent1,15528691:doWork1,[])
link(onEvent3,13900742:doWork1,[(167,62)(167,90)])
}
Add(ChildForm,15528691,182,42)
{
link(onEvent1,2953706:doCaption,[(226,48)(226,80)(9,80)(9,111)])
link(onEvent2,5488052:doEvent1,[])
}
BEGIN_SDK
Add(EditMulti,16751068,98,21)
{
EventCount=2
WorkCount=3
VarCount=1
Width=356
Height=270
link(doWork1,1455743:doShowModal,[(112,27)(112,76)])
link(doWork2,3746315:doLoad,[(198,34)(198,363)])
link(doWork3,9064936:doRead,[(136,41)(136,461)])
link(Var1,12740174:Var2,[(104,234)(181,234)])
}
Add(MainForm,1455743,126,42)
{
Left=35
Top=105
Width=425
Height=182
Visible=1
BorderStyle=3
Point(doShowModal)
Point(Handle)
}
Add(SysMenu,9573259,126,91)
{
link(Handle,1455743:Handle,[])
}
Add(Timer,10502694,49,91)
{
Interval=100
link(onTimer,16586614:doEvent1,[])
}
Add(Label,3044705,120,133)
{
Left=5
Top=10
Width=73
Height=17
Caption="Имя проекта:"
}
Add(Edit,3979402,169,132)
{
Left=80
Top=8
Width=335
Text=""
MaxLenField=45
link(onChange,8822390:doWork2,[(255,138)(255,209)])
}
Add(Label,9856876,119,177)
{
Left=5
Top=40
Width=126
Height=17
Caption="Расположение проекта:"
}
Add(Edit,5831992,168,180)
{
Left=130
Top=38
Width=270
Text=""
ReadOnly=0
link(onChange,8822390:doWork1,[(298,186)])
}
Add(Button,11555627,210,181)
{
Left=400
Top=38
Width=20
Caption="..."
link(onClick,14081455:doBrowse,[])
}
Add(Browse,14081455,252,181)
{
Title="Выберите папку где будет храниться проект."
NewStyle=0
link(onBrowse,10815781:doWork2,[])
}
Add(GlobalVar,9825387,322,181)
{
Name="projectdir"
link(onValue,15282286:doWork2,[(390,187)(390,175)])
}
Add(Label,11936030,121,229)
{
Left=5
Top=70
Width=137
Height=17
Caption="Получится расположение:"
}
Add(Edit,4152622,170,228)
{
Left=5
Top=83
Width=410
Text=""
MaxLenField=28
}
Add(Length,937226,308,203)
{
link(onLength,7388995:doCompare,[])
link(Str,14012255:Var2,[])
}
Add(If_else,7388995,350,203)
{
Type=4
Op2=Integer(1)
link(onTrue,9123392:doLength,[])
link(Op1,4756675:Var1,[(356,191)(335,191)])
}
Add(If_else,803106,434,203)
{
Type=4
Op2=Integer(1)
link(onTrue,14059355:doCompare,[(478,209)(478,230)(408,230)(408,260)])
link(onFalse,6588516:doData,[(478,216)(478,234)(338,234)(338,251)])
link(Op1,4204985:Var3,[(440,191)(420,191)(420,243)])
}
Add(Length,9123392,392,203)
{
link(onLength,803106:doCompare,[])
link(Str,12026024:Var2,[(398,190)(175,190)])
}
Add(FormatStr,141995,483,203)
{
Mask="%1\%2.cmdp"
link(onFString,10002498:doWork2,[])
link(Str1,10879239:Var3,[(489,191)])
link(Str2,8496551:Var3,[(496,173)])
}
Add(GetDataEx,2867534,203,219)
{
Angle=3
link(Data,2956455:Var3,[])
}
Add(GetDataEx,12026024,169,168)
{
link(Data,3979402:Text,[])
}
Add(HubEx,2274194,154,228)
{
link(onEvent,4152622:doText,[])
}
Add(HubEx,7748205,154,215)
{
Angle=1
link(onEvent,2274194:doWork2,[(158,234)])
}
Add(Hub,16586614,91,91)
{
OutCount=3
link(onEvent1,9573259:doHideCloseButton,[])
link(onEvent2,12477914:doCompare,[(294,104)(294,552)])
link(onEvent3,9496011:doCompare,[(294,111)(294,594)])
}
Add(HubEx,8822390,294,203)
{
link(onEvent,937226:doLength,[])
}
Add(FormatStr,1810075,483,245)
{
Mask="%1%2.cmdp"
link(onFString,10002498:doWork3,[(529,251)])
link(Str1,10879239:Var2,[(489,220)(468,220)])
link(Str2,8496551:Var2,[(496,211)(475,211)])
}
Add(GetDataEx,10879239,462,186)
{
Angle=3
link(Data,2867534:Var1,[(209,191)])
}
Add(GetDataEx,8496551,469,168)
{
Angle=3
link(Data,1448526:Var3,[])
}
Add(If_else,14059355,420,254)
{
Type=2
Op2=Integer(3)
link(onTrue,141995:doString,[(468,260)(468,209)])
link(onFalse,1810075:doString,[(468,267)(468,251)])
link(Op1,4756675:Var3,[(426,247)])
}
Add(GetDataEx,4756675,329,242)
{
Angle=3
link(Data,12375644:Var2,[(314,247)])
}
Add(HubEx,10002498,525,203)
{
link(onEvent,7748205:doWork3,[(537,209)(537,221)])
}
Add(Button,9540606,219,331)
{
Left=355
Top=135
Width=65
Enabled=1
Caption="Создать"
Point(doEnabled)
link(onClick,4915142:doEvent1,[])
}
Add(Button,10815999,219,296)
{
Left=300
Top=135
Caption="Отмена"
Point(doEnabled)
link(onClick,6877730:doWork2,[])
}
Add(DoData,6588516,350,245)
{
Data=String()
link(onEventData,7748205:doWork1,[(394,251)(394,212)(158,212)])
}
Add(DoData,3090600,266,296)
{
Data=String()
link(onEventData,11766926:doEvent1,[])
}
Add(Hub,11766926,322,296)
{
OutCount=3
link(onEvent1,4152622:doText2,[(348,302)(348,272)(158,272)(158,241)])
link(onEvent2,3979402:doText2,[(348,309)(348,227)(157,227)(157,145)])
link(onEvent3,1455743:doClose,[(348,316)(348,192)(114,192)(114,69)])
}
Add(HubEx,10815781,301,181)
{
link(onEvent,9825387:doValue,[])
}
Add(StringTableMT,3746315,297,336)
{
Left=390
Top=370
Visible=1
Columns=#4:name|10:projectdir|6:outdir|12:projectindir|0:|
StrDelimiter="^"
IconsCheck=[]
MiscIcons=[]
Icons=[]
FileName="projectslist.list"
Point(doMT_Add)
}
Add(MT_AddData,13572175,175,371)
{
Count=4
link(onAdd,10954089:doEvent1,[])
link(Data1,1448526:Var2,[(181,274)(419,274)])
link(Data2,2956455:Var2,[(188,299)(195,299)])
link(Data3,4152622:Text,[(195,315)(176,315)])
link(Data4,599650:Var1,[(202,327)])
}
Add(GetDataEx,1448526,413,168)
{
Angle=3
link(Data,16267590:Var3,[])
}
Add(GetDataEx,2956455,189,219)
{
Angle=3
link(Data,5831992:Text,[(174,224)])
}
Add(Hub,10954089,224,371)
{
OutCount=5
link(onEvent1,3746315:doMT_Add,[])
link(onEvent2,3746315:doSave,[(268,384)(268,370)])
link(onEvent3,1411062:doString,[(360,391)(360,286)])
link(onEvent4,13748742:doWrite,[(250,398)(250,412)(163,412)(163,426)])
}
Add(Dir,12735045,483,343)
{
Point(Dir)
link(onEnd,503630:doString,[(527,349)(527,426)(163,426)(163,503)])
link(Dir,599650:Var2,[])
}
Add(FormatStr,1411062,483,280)
{
Mask="%1\%2"
Point(FString)
link(onFString,12735045:doDir,[(527,286)(527,314)(471,314)(471,349)])
link(Str1,14012255:Var3,[(489,191)])
link(Str2,4074291:Var2,[(496,232)(195,232)])
}
Add(GetDataEx,14012255,308,186)
{
Angle=3
link(Data,2867534:Var3,[(244,191)(244,224)])
}
Add(GetDataEx,4074291,189,168)
{
Angle=3
link(Data,12740174:Var3,[])
}
Add(HubEx,6877730,252,296)
{
link(onEvent,3090600:doData,[])
}
Add(GetDataEx,599650,483,322)
{
link(Data,1411062:FString,[])
}
Add(Ini,13748742,175,413)
{
FileName="pset.ini"
Section="new"
Key="pdir"
Type=1
link(Value,9825387:Var,[(202,304)(328,304)])
}
Add(Ini,9064936,175,455)
{
FileName="pset.ini"
Section="new"
Key="pdir"
Type=1
link(onResult,10815781:doWork3,[(305,461)])
}
Add(FormatStr,503630,175,497)
{
DataCount=1
Mask="CmdsProjects - %1"
link(onFString,10303142:doEvent1,[])
link(Str1,16267590:Var2,[(181,337)(209,337)])
}
Add(GetDataEx,16267590,203,168)
{
Angle=3
link(Data,4074291:Var3,[])
}
Add(Hub,10303142,224,497)
{
OutCount=3
link(onEvent1,16751068:onEvent1,[(346,503)(346,27)])
link(onEvent2,15527104:doTimer,[])
link(onEvent3,16751068:onEvent2,[(346,517)(346,34)])
}
Add(HubEx,15282286,238,169)
{
Angle=2
link(onEvent,5831992:doText,[(156,175)(156,186)])
}
Add(GetDataEx,12740174,175,168)
{
Angle=3
link(Data,12026024:Var3,[])
}
Add(Timer,15527104,259,504)
{
Interval=740
Enable=1
link(onTimer,7223903:doEvent1,[])
}
Add(Hub,7223903,301,504)
{
OutCount=3
link(onEvent1,15527104:doStop,[(327,510)(327,514)(247,514)(247,517)])
link(onEvent2,6877730:doWork3,[(327,517)(327,411)(256,411)])
link(onEvent3,8105086:doData,[(343,524)(343,489)])
}
Add(Hub,4915142,266,331)
{
link(onEvent1,13572175:doAdd,[(286,337)(286,357)(163,357)(163,377)])
link(onEvent2,16614874:doData,[(326,344)(326,447)])
}
Add(DoData,16614874,371,441)
{
Data=Integer(0)
link(onEventData,276642:doEvent1,[])
}
Add(Hub,276642,413,441)
{
InCount=2
link(onEvent1,122006:doWork3,[(439,447)(439,392)(207,392)])
link(onEvent2,16328210:doWork3,[(439,454)(439,378)(207,378)])
}
Add(DoData,8105086,371,483)
{
Data=Integer(1)
link(onEventData,276642:doEvent2,[(408,489)(408,454)])
}
Add(DoData,3423386,588,546)
{
Data=Integer(0)
link(onEventData,2809482:doWork3,[(597,552)(597,504)(499,504)])
}
Add(DoData,15862194,588,588)
{
Data=Integer(1)
link(onEventData,2809482:doWork2,[(597,594)(597,524)(490,524)(490,454)])
}
Add(HubEx,16328210,203,308)
{
Angle=3
link(onEvent,10815999:doEnabled,[(207,302)])
}
Add(HubEx,122006,203,331)
{
link(onEvent,9540606:doEnabled,[])
}
Add(HubEx,2809482,495,448)
{
Angle=3
link(onEvent,122006:doWork1,[(499,328)(207,328)])
}
Add(If_else,12477914,483,546)
{
Type=4
Op2=Integer(0)
link(onTrue,14766160:doWork1,[(543,552)])
link(onFalse,398183:doWork2,[])
link(Op1,12375644:Var3,[(489,243)])
}
Add(GetDataEx,12375644,308,238)
{
link(Data,937226:Result,[])
}
Add(If_else,9496011,483,588)
{
Type=4
Op2=Integer(4)
link(onTrue,14766160:doWork2,[])
link(onFalse,398183:doWork3,[(529,601)])
link(Op1,4204985:Var2,[(489,418)(398,418)])
}
Add(HubEx,398183,525,553)
{
link(onEvent,3423386:doData,[(537,559)(537,552)])
}
Add(GetDataEx,4204985,392,238)
{
Angle=3
link(Data,9123392:Result,[(398,247)])
}
Add(Message,2008232,574,665)
{
Message="Ошибка при создании проекта: Название проекта должно быть больше 4 символов!"
Caption="CmdsProjects: Ошибка создания"
Icon=1
}
Add(HubEx,14766160,539,588)
{
link(onEvent,15862194:doData,[])
}
END_SDK
Add(StyleXP,12972563,21,70)
{
}
Add(Hub,8480115,77,119)
{
OutCount=5
link(onEvent1,15528691:doWork2,[(117,125)(117,55)])
link(onEvent2,15528691:doWork3,[(137,132)(137,62)])
link(onEvent3,12332463:doSearch,[(103,139)(103,191)(51,191)(51,244)])
}
Add(ChildForm,13900742,182,84)
{
link(Data1,15528691:Var1,[])
}
BEGIN_SDK
Add(EditMulti,134188,98,21)
{
EventCount=1
WorkCount=3
DataCount=1
Width=356
Height=270
link(doWork1,1852116:doShowModal,[(112,27)(112,76)])
link(doWork2,10084527:doEvent1,[(172,34)(172,139)])
link(doWork3,2857754:doLoad,[(189,41)(189,90)])
}
Add(MainForm,1852116,126,42)
{
Left=35
Top=105
Width=216
Height=204
BorderStyle=3
Point(doShowModal)
Point(Handle)
}
Add(SysMenu,11621485,126,91)
{
link(Handle,1852116:Handle,[])
}
Add(Timer,12582416,49,91)
{
Interval=100
link(onTimer,10715690:doEvent1,[])
}
Add(Hub,10715690,91,91)
{
link(onEvent1,11621485:doHideCloseButton,[])
}
Add(TreeViewEx,2857754,280,63)
{
Width=210
Height=176
Align=5
Strings=#7:Проекты|
FileName="projectslist.list2"
ImgSize=20
IconsState=[]
Icons=['Dir'=[ZIPBE25000078DAED990954D4E7B9C62731E726ED4D8EBDB7EBBDA73D499BA6CD4DBA7BCDE9ED5DECE949BCBD8DA605311583EC228328222EB8E096E0028218D94140020AB22308CAA6B2890C300CFB26DBB0CE00C3BEF3F4F96686809E9A989BB1273DEDDFF3F00D33DFCCFCDEE5FF7EEF2B12C953FCF7334B097FBE2489794522F98644227995FA19C5A7B5CF8BEBD82B92BFE92BA8BCD3EE8537B7AEF8EAEFB63FF3AF46CE4FFF55B15774FA9CA956C1F3564DE4D77FB7FD6BE47FEE7BA6FBFF2A6C08AE501E39AFE8854BF3041883D997D76F33FEA191C34F5E7DD7F985D7AC8F3CBDCAC1FDA92F30FB167F7937F6358D6137F9F93B5E5A676FFFAA9183C94F37487FB36A83FD0F579B489FFFAF3D5E5F381B42E4CA55C172250E358C68D985F81CBEB34EBAE7152347AB1F9B6C5FBFCA44FA3FAB37D8FD72B591EDAB6F18DBFDF3C39FE159AAFCEEE9E2368BD345ADB11E251D9D270B9A6F3B47DFB0E54BDFA6FE8512EFF912B5C2D0FCA1F2AED01375431FB30BF139C17FF0FB468ED21F6DDCB1F117EF3ABE49FFFF6AB5B1DD6ADAF073D30F82DE74CBA8B0F728ED8CF69475B57B55F4C0A756850B2D4338DF31029FFB1A1CCFA92EE1C7FF927A435F26BF4F7D8D7A565B2E0DC15ED9E5E359A37E805DCB5FD9856FAF931E7ED96887D3EB1B779AAD75F1B0B6F18B77778EC9CB3C907AAFE7C84D39DCEFD4E1B4AC1567EAD5387E7F18AE4D1AEC69D4601F75A05983FD32E66389122E59D5D5E61EC1C7F975FF49FD94FA0EF5FCE78DC5C5CAEE23BE55FDDAFBF5617EBE865F397926189F8E2CB30DBDAEDE1D9F0FB74C198EE555C1ADB00EAEC50D7029698633F977CA7BE0583B0469ED20EC6B06B0AD66108E8CE79EC621DAA6847B5D8F88859C5FF96B6A8D3E1E3FD0C7E21FFE3FB10853746F09AEEAC5A19671EC6D99F8D886C595AF63F385385885A5635B5C1E1CD24BE0489F3B93DFF9760D9CF21BB0BDB019F625ADB02DEF8175D5002C2B0760A1955AFBFBC5823CE0920D2ECAE5385BDE0D3DFFA20DFF41BD4E7D937AEEB3D810AEE85E25F84EDD1FC5C1D649B8DE9FC4BE9649EC59C6CF3DF82DF98D83D3B0E54A2E6C538AB135B31CB6372B619B5D05EB5B75B02968824D711B2C982766E4DE5CA1D6CA54AEC6162AA4A408483F8A90EA5A88FB43CFFDDFFA3C12FCFF4E896E6125F5D8674CB0A2A7D6BB65189E1DD338D23E85436D9338403BF66BEDD0D9105ED583FF3D1F87B7035361F45116FE985008B3B45258DCA8846556352CF3EA6191DF04CBE2766C29EDD671539B2A54D854AEC27BE4F76BE844FF501F8294638BFC8BDC6FE8D97F4EFD485F9F1E3B8F22C8E6A99C864FE70C4E744CE1286D384C1B442C0EE86321F6FCFA5C1CD606A4E2F791597837BE109BAF95C2EC861CE6595530CFD5F15B90DF5CD60333B9FA011BC4E3C08E51882B90FCDEF25E3CC4FD133DFBBF512F52FFF4B8365CAAEEC5F9EE195C50CEE064E734DEEF9CC231DAB13C1662CF1AEF38BC45FEF5115930D1F2CB6096A1E3B7A0FF2DF39B617557C76FCEFC596E83F07FD0227F27F92BB5FC8BDCAFEBB9C53DFC3D3DFFB7F479F4ECA7E552644D2F7C7B67E04F1B3CBBA6719A72673C96C742EC11FC6BFDF5FC7105D824FC9FA9E3B7CCAD85554133ACC96F59AEE35F6E83997C00419D3A7E913FE7147D58E66F91F32F532F2D3BDFBEA13FE39ED7C7E1E947C5E2A39A3E04F6CF22A86716DE3D33384B9DA10D27954BB1107BD69C5BE4BF0993ABF9304D217F46392C6E2A6095CBFB97F5C7E66E07ACCB7A60A91878C0060BF287D0EF1FF3B34EEBB917FDBD9CFBABD457A817A87FD4C7E09947F147D5F621B47F0EA17DB3B8409DEF9BD1DAE1D9BD140BB1678DF755BCE597827561993089B90DD3E4126CB95E46FE4AD8307F6C0A5B605B427ED61F6BD6CCE53688C7A17AFED0AE31F8546BF997737FFDCF703FA7F7FD339FE4FFE8DA7E44A8E710411B0255B3F0A33EA41DE77A976211513F803DCCF7B7FC92B1EE6206365CB9854D89C5304F97C12A4B41FE3A6C65FED891DF56D605ABB25E582B74DCE21CB0A91A449852C71FD64DFE1A151ECA93CFCCBD785DAEEB47D4C03C3E523106037308A60268836FFF522CBCBAA6780674E9F843AFC3383A179BE28B604E9BAC84FF59FFEDC4F975AF0376F4BF0DEF015BB2DB2806C93E00BBEA4104748CA17264067E8CC3F95A351EF2F7973F2BF7E275A55E852B43F3B84C1B22B8860FE9EC0852EB62A1CD29C642EC7BCB3789FC69308ECA81296B90459A0C36CCFFADE4B72F6A81B4B403D2B26ED855F4C24E70D3EF42BBEA8770AC690467DA4710C0FC395FA7E5FF5CDC8B570CB9628717103BB480E861C64123EC98C3C5C1A55884D216B16FADE00F4983C947D9D8CC1A64C933CC96FCDBC82F25BF23F91D783649E57D90925BCADEC7A16608275B4610CCFC09640C02D98B7A5775077F5EEEC52BB6418D849105C46B1610C3F5CAC83CA268C725CD522C62B98A7D6BFD92B0FE21FEADCC7FFBDBEC7F8AEF6387AC138EE477A8ECC376E68C23D99DD8BB899A7FA1731CFEECA73DCBDBCD0CC1BD785D6D5423710448D40071630BB84AC58C2EE0F2C8522C1286E720F6FD96FE7F47CFFF5E7C01ACC96F477E07F23B92DF89FC3BC9BFA3B21F3BE8FB5DEC435DEA3408EF1A4708E5DB3C04BBC0CB2F18827BF18A6B1C40328F96A46120619C768C3316B42176742916C95CC53E1D7F3A364665C38CFC36D74B619FADC076F23BDDBD0FE732259CD93F3B917F177DBF9BBEDFD7A04164177BA89E092DBFA1E7ADF8A6412D7F3263903CA153D2B8B0652916E963F310FBFE8FFC7F084DC7BBD139D8925000DBF452487314D8C9FED999FC2EE54AEC616FE0A2E01C41F6BDF51A1CE41C134DF6C89E49F8B6680CCE9FD0FC207FEA2490226C98D0C5228136644F70E5BEB799FF46E4DF447E0BF2DB5D97613BF99D0A1AB19BBDFF5ECEF9FB15BDD85BA5C23EF2BBD2F76E4DC3B8D23B81A8DE49F8712E33347F2263FA30FFA2B4F1602C8AA71620F6BDED9F0C63D67F53F25B915FCAF377472E6718F2EF23BF6B45375CD9DBB856AB70A06118871B8771BC790457C91FDD3709FFD61183F327B53C9A5F2B3E5739C37870DF7AFF246CB8988EF72EE7C02691FC19657022FFDEC246B8DE6BC321CEF96EEC0D0E73867623FB51D67C77D6CE04B25F16FCEDA306E74F663DFE24FE6B54DD2C5FE3BE77029261427E33FA7F6B52211CC9EF9C5B8DFD458D38246BC311CE69C76BFA71BC6E00C799371F90FD4CEB2892C97E850AE8303C7FCA63F28B7DBF27FF46F26FA1FFEDC8BF83FDE7DEBC6A1C286E825B593B4E70CE71E7D9EADE30C8336B14A739937AB58FE19A6A0AB1829FE780A1F9535B871F8B5FECFB43400AFEC8FECD8233F0B6E442ECBA598E7D9CDF0FDF6DC631F2BB57F5E274BD1AA7C9EF21D8DBD82B903F433D85ABFD539CBDC60DCE7FADEDF1F8C53EC1BF292C039631B99072867726BF2BF98F9634E3FD8A0E9CE29C73B661005EACB5DECC1BC1EED7318E1BE48F630C82780E189A3FAD6DE413F9D3A8B639AEDC67149802D3880C58C5E6C131F52E5CB22B7030BF16C7C97F52DE090FCE09E7C8EEC33AFF21D97DC91EA49C40D6E034E2057FB7E1F9D3DB3F9D9FE51F629FE0DF7C29135BE36F63477A09F6E654C2ADA00E274A5B708AFC67EBFAF021F92FB0CEFBB68F33DFD937903F87FC09AA6904F30C3334FF75D6844FE31797D8671C9C0AB3A82C6C4B2AC0AE8C52B8E655E168613D3E90DDC719CE075EE4173D8238A7023A2738F34E208C39934BFE2435F97BA70CCE9FF118FC743FC43E517B44EE3B5C2BC69E6C390EDEA9C6B1E206B8CB5AE159D58573F57DF0E3391124F286ECC1F47D78D7246E913F99FC217D4F809F35EDB1F8B9CFF4D20DD826E66367A60CFBF214382C72A7A409A7CADB7196FC1FB6704E678D092573887212A1E48FE816FC334819207FFFB4C1F9333F855FCEB3779EFC629F794C1EA4CC7BE79C0A1CA0EFDD8AEAF1FEBD66785475C2B7558360E64A187985840D61D425C13F348354F287AA660CCE7F43F9687E25EBCE249D5F39CA19929C5B538AB0933573EFAD2A1C2CA8C509590BBC3817F8D3E781ECEF057F78F714227A74368453513D53B8A399411A7328546D78FE9BFCEE3FC72F6A661F1D5FC0EFF5E1F964C3F3763BF36677AE020799F3A778AF9EEF1C851FED0F10F3096BE345D127B3CF8CE67D1AD5A7530CCFADA2E1596432061707660DCE9FD5F520BFC877D1AF355039ACD9DEC58DEC95F3B18DB38ACB1D9E5555DDF0642D3DC7FBD957CB3E86909E7184935BB05FE57B1279AFA6D2D737C87C8BBEAF9F9843B6669633F593E09FF898FF1AF98BA775FDF20DFAD0A3B001E6BC5FA5E29C2DEF602FC9BE80E79837D92F903DA84B704F205635C9FC9E22EF340A4766211B9D836C6C16A5CCBB42EA369FCB610CC2388B1A9A3FBB7B893F8FBECF1E9F4716FD78A6A801B6F4F9EE7B2D70AB57E103D6752FF61081CA51FA799CE7D13832C89CA79942FEF00C0AA85B23335AD69B64BD4EA550F19A394453628E26BFFF93E2CF207F3AE7DC2CDE7B5E65AD38C07EF864A30A3EAD43AC832388E919434AFF387B01D61332670F4F939179425EED7C4C89FF7F09D368A5A012290FCA8E5A45AD7C127F2FCD618D48E58C95313C07F138B2458D48E5307BDE719EFB3C3BC99AA999C635FAF21AE7E0D8D1794492337C78BE9F2AA282A8DDD43BD46B7FE9BFF7A6A8662632786FE53227EE300744FEA48DEBE6F6F061AD145422E541D951ABA895922FC8756568EE428A7A66224A335F1E3EB21044EDA6DEA15E93FCFD7A2297AEA3E4DAAE5F6FE9D7636B74ABE445EDBA2059C9476295489EE53A27FEC8CC754AFB21128946AC472592B6E5EB1AFDFAA27E5DA95F573C625DF9D0FBA05B57E8D795FA758D6E7D0A5FEC75856E7D0ABAF5A86E5DA3F7AFDEEF7F02EADE474B],'Project'=[ZIPBE08000078DAED944F4BC2601CC7BFA33F6EC8DA216D10844306DBBBA87756C72EE90EF60A22CA8381372F625848463B78702DD192CC8312B81AAC8DC4F528FEB7415151909F87CF0EBFEFF37D7678C6008A2C610BE449E39806D600C8448148C6BD798F458CA0FA1222913D28D1281445412CB68F83C323C4E3719C241248269348A55248774DA7719EC9E02C9B452E97433E9F87AAAA28692A4E2F2B28140A28168BD0AF35DCE81A745D47A55442B95C4655BB40AB728587FB5B54EFAAA8D56AA8D7EB68369B786C34F0DC32601A062CD384655970AC27BCD8361CC7C16BBB8D4EA7833973E67C1FAEEB7E6CE3D2BB8CF2803C421A309E8BEB33881EFDE109BFD6EF9FF0893E2FCFF0D5BE2CFFE73EBFEA67BCEF87F1F99669C6BBCF49D206437BF70392C08D7FBEA41F66A5A132179A8C49DF4FF60C0CB3537177E61787F2AC6F3246800F8AC1605F9E6357FED43FC0B581D00FB949DCB67777C83B28E2823BCD1B545AE3FB]]
Point(doAddIcon)
Point(doAddChild)
Point(doSelect)
link(Str,134188:Data1,[(286,42)(104,42)])
link(IconID,12410127:Value,[])
}
Add(Hub,10084527,245,133)
{
OutCount=4
link(onEvent1,8883402:doData,[])
link(onEvent2,2857754:doAddChild,[(269,146)(269,111)])
link(onEvent3,2857754:doAddIcon,[(269,153)(269,104)])
link(onEvent4,2857754:doSave,[(269,160)(269,97)])
}
Add(DoData,8883402,280,133)
{
Data=Integer(1)
link(onEventData,2857754:doSelect,[(324,139)(324,129)(268,129)(268,118)])
link(Data,2857754:Count,[])
}
Add(Memory,12410127,294,21)
{
Default=Integer(1)
}
END_SDK
Add(TreeViewEx,14397807,147,231)
{
Top=40
Width=120
Height=436
Align=1
Strings=#7:Проекты|
FileName="projectslist.list2"
ImgSize=20
IconsState=[]
Icons=['Dir'=[ZIPBE25000078DAED990954D4E7B9C62731E726ED4D8EBDB7EBBDA73D499BA6CD4DBA7BCDE9ED5DECE949BCBD8DA605311583EC228328222EB8E096E0028218D94140020AB22308CAA6B2890C300CFB26DBB0CE00C3BEF3F4F96686809E9A989BB1273DEDDFF3F00D33DFCCFCDEE5FF7EEF2B12C953FCF7334B097FBE2489794522F98644227995FA19C5A7B5CF8BEBD82B92BFE92BA8BCD3EE8537B7AEF8EAEFB63FF3AF46CE4FFF55B15774FA9CA956C1F3564DE4D77FB7FD6BE47FEE7BA6FBFF2A6C08AE501E39AFE8854BF3041883D997D76F33FEA191C34F5E7DD7F985D7AC8F3CBDCAC1FDA92F30FB167F7937F6358D6137F9F93B5E5A676FFFAA9183C94F37487FB36A83FD0F579B489FFFAF3D5E5F381B42E4CA55C172250E358C68D985F81CBEB34EBAE7152347AB1F9B6C5FBFCA44FA3FAB37D8FD72B591EDAB6F18DBFDF3C39FE159AAFCEEE9E2368BD345ADB11E251D9D270B9A6F3B47DFB0E54BDFA6FE8512EFF912B5C2D0FCA1F2AED01375431FB30BF139C17FF0FB468ED21F6DDCB1F117EF3ABE49FFFF6AB5B1DD6ADAF073D30F82DE74CBA8B0F728ED8CF69475B57B55F4C0A756850B2D4338DF31029FFB1A1CCFA92EE1C7FF927A435F26BF4F7D8D7A565B2E0DC15ED9E5E359A37E805DCB5FD9856FAF931E7ED96887D3EB1B779AAD75F1B0B6F18B77778EC9CB3C907AAFE7C84D39DCEFD4E1B4AC1567EAD5387E7F18AE4D1AEC69D4601F75A05983FD32E66389122E59D5D5E61EC1C7F975FF49FD94FA0EF5FCE78DC5C5CAEE23BE55FDDAFBF5617EBE865F397926189F8E2CB30DBDAEDE1D9F0FB74C198EE555C1ADB00EAEC50D7029698633F977CA7BE0583B0469ED20EC6B06B0AD66108E8CE79EC621DAA6847B5D8F88859C5FF96B6A8D3E1E3FD0C7E21FFE3FB10853746F09AEEAC5A19671EC6D99F8D886C595AF63F385385885A5635B5C1E1CD24BE0489F3B93DFF9760D9CF21BB0BDB019F625ADB02DEF8175D5002C2B0760A1955AFBFBC5823CE0920D2ECAE5385BDE0D3DFFA20DFF41BD4E7D937AEEB3D810AEE85E25F84EDD1FC5C1D649B8DE9FC4BE9649EC59C6CF3DF82DF98D83D3B0E54A2E6C538AB135B31CB6372B619B5D05EB5B75B02968824D711B2C982766E4DE5CA1D6CA54AEC6162AA4A408483F8A90EA5A88FB43CFFDDFFA3C12FCFF4E896E6125F5D8674CB0A2A7D6BB65189E1DD338D23E85436D9338403BF66BEDD0D9105ED583FF3D1F87B7035361F45116FE985008B3B45258DCA8846556352CF3EA6191DF04CBE2766C29EDD671539B2A54D854AEC27BE4F76BE844FF501F8294638BFC8BDC6FE8D97F4EFD485F9F1E3B8F22C8E6A99C864FE70C4E744CE1286D384C1B442C0EE86321F6FCFA5C1CD606A4E2F791597837BE109BAF95C2EC861CE6595530CFD5F15B90DF5CD60333B9FA011BC4E3C08E51882B90FCDEF25E3CC4FD133DFBBF512F52FFF4B8365CAAEEC5F9EE195C50CEE064E734DEEF9CC231DAB13C1662CF1AEF38BC45FEF5115930D1F2CB6096A1E3B7A0FF2DF39B617557C76FCEFC596E83F07FD0227F27F92BB5FC8BDCAFEBB9C53DFC3D3DFFB7F479F4ECA7E552644D2F7C7B67E04F1B3CBBA6719A72673C96C742EC11FC6BFDF5FC7105D824FC9FA9E3B7CCAD85554133ACC96F59AEE35F6E83997C00419D3A7E913FE7147D58E66F91F32F532F2D3BDFBEA13FE39ED7C7E1E947C5E2A39A3E04F6CF22A86716DE3D33384B9DA10D27954BB1107BD69C5BE4BF0993ABF9304D217F46392C6E2A6095CBFB97F5C7E66E07ACCB7A60A91878C0060BF287D0EF1FF3B34EEBB917FDBD9CFBABD457A817A87FD4C7E09947F147D5F621B47F0EA17DB3B8409DEF9BD1DAE1D9BD140BB1678DF755BCE597827561993089B90DD3E4126CB95E46FE4AD8307F6C0A5B605B427ED61F6BD6CCE53688C7A17AFED0AE31F8546BF997737FFDCF703FA7F7FD339FE4FFE8DA7E44A8E710411B0255B3F0A33EA41DE77A976211513F803DCCF7B7FC92B1EE6206365CB9854D89C5304F97C12A4B41FE3A6C65FED891DF56D605ABB25E582B74DCE21CB0A91A449852C71FD64DFE1A151ECA93CFCCBD785DAEEB47D4C03C3E523106037308A60268836FFF522CBCBAA6780674E9F843AFC3383A179BE28B604E9BAC84FF59FFEDC4F975AF0376F4BF0DEF015BB2DB2806C93E00BBEA4104748CA17264067E8CC3F95A351EF2F7973F2BF7E275A55E852B43F3B84C1B22B8860FE9EC0852EB62A1CD29C642EC7BCB3789FC69308ECA81296B90459A0C36CCFFADE4B72F6A81B4B403D2B26ED855F4C24E70D3EF42BBEA8770AC690467DA4710C0FC395FA7E5FF5CDC8B570CB9628717103BB480E861C64123EC98C3C5C1A55884D216B16FADE00F4983C947D9D8CC1A64C933CC96FCDBC82F25BF23F91D783649E57D90925BCADEC7A16608275B4610CCFC09640C02D98B7A5775077F5EEEC52BB6418D849105C46B1610C3F5CAC83CA268C725CD522C62B98A7D6BFD92B0FE21FEADCC7FFBDBEC7F8AEF6387AC138EE477A8ECC376E68C23D99DD8BB899A7FA1731CFEECA73DCBDBCD0CC1BD785D6D5423710448D40071630BB84AC58C2EE0F2C8522C1286E720F6FD96FE7F47CFFF5E7C01ACC96F477E07F23B92DF89FC3BC9BFA3B21F3BE8FB5DEC435DEA3408EF1A4708E5DB3C04BBC0CB2F18827BF18A6B1C40328F96A46120619C768C3316B42176742916C95CC53E1D7F3A364665C38CFC36D74B619FADC076F23BDDBD0FE732259CD93F3B917F177DBF9BBEDFD7A04164177BA89E092DBFA1E7ADF8A6412D7F3263903CA153D2B8B0652916E963F310FBFE8FFC7F084DC7BBD139D8925000DBF452487314D8C9FED999FC2EE54AEC616FE0A2E01C41F6BDF51A1CE41C134DF6C89E49F8B6680CCE9FD0FC207FEA2490226C98D0C5228136644F70E5BEB799FF46E4DF447E0BF2DB5D97613BF99D0A1AB19BBDFF5ECEF9FB15BDD85BA5C23EF2BBD2F76E4DC3B8D23B81A8DE49F8712E33347F2263FA30FFA2B4F1602C8AA71620F6BDED9F0C63D67F53F25B915FCAF377472E6718F2EF23BF6B45375CD9DBB856AB70A06118871B8771BC790457C91FDD3709FFD61183F327B53C9A5F2B3E5739C37870DF7AFF246CB8988EF72EE7C02691FC19657022FFDEC246B8DE6BC321CEF96EEC0D0E73867623FB51D67C77D6CE04B25F16FCEDA306E74F663DFE24FE6B54DD2C5FE3BE77029261427E33FA7F6B52211CC9EF9C5B8DFD458D38246BC311CE69C76BFA71BC6E00C799371F90FD4CEB2892C97E850AE8303C7FCA63F28B7DBF27FF46F26FA1FFEDC8BF83FDE7DEBC6A1C286E825B593B4E70CE71E7D9EADE30C8336B14A739937AB58FE19A6A0AB1829FE780A1F9535B871F8B5FECFB43400AFEC8FECD8233F0B6E442ECBA598E7D9CDF0FDF6DC631F2BB57F5E274BD1AA7C9EF21D8DBD82B903F433D85ABFD539CBDC60DCE7FADEDF1F8C53EC1BF292C039631B99072867726BF2BF98F9634E3FD8A0E9CE29C73B661005EACB5DECC1BC1EED7318E1BE48F630C82780E189A3FAD6DE413F9D3A8B639AEDC67149802D3880C58C5E6C131F52E5CB22B7030BF16C7C97F52DE090FCE09E7C8EEC33AFF21D97DC91EA49C40D6E034E2057FB7E1F9D3DB3F9D9FE51F629FE0DF7C29135BE36F63477A09F6E654C2ADA00E274A5B708AFC67EBFAF021F92FB0CEFBB68F33DFD937903F87FC09AA6904F30C3334FF75D6844FE31797D8671C9C0AB3A82C6C4B2AC0AE8C52B8E655E168613D3E90DDC719CE075EE4173D8238A7023A2738F34E208C39934BFE2435F97BA70CCE9FF118FC743FC43E517B44EE3B5C2BC69E6C390EDEA9C6B1E206B8CB5AE159D58573F57DF0E3391124F286ECC1F47D78D7246E913F99FC217D4F809F35EDB1F8B9CFF4D20DD826E66367A60CFBF214382C72A7A409A7CADB7196FC1FB6704E678D092573887212A1E48FE816FC334819207FFFB4C1F9333F855FCEB3779EFC629F794C1EA4CC7BE79C0A1CA0EFDD8AEAF1FEBD66785475C2B7558360E64A187985840D61D425C13F348354F287AA660CCE7F43F9687E25EBCE249D5F39CA19929C5B538AB0933573EFAD2A1C2CA8C509590BBC3817F8D3E781ECEF057F78F714227A74368453513D53B8A399411A7328546D78FE9BFCEE3FC72F6A661F1D5FC0EFF5E1F964C3F3763BF36677AE020799F3A778AF9EEF1C851FED0F10F3096BE345D127B3CF8CE67D1AD5A7530CCFADA2E1596432061707660DCE9FD5F520BFC877D1AF355039ACD9DEC58DEC95F3B18DB38ACB1D9E5555DDF0642D3DC7FBD957CB3E86909E7184935BB05FE57B1279AFA6D2D737C87C8BBEAF9F9843B6669633F593E09FF898FF1AF98BA775FDF20DFAD0A3B001E6BC5FA5E29C2DEF602FC9BE80E79837D92F903DA84B704F205635C9FC9E22EF340A4766211B9D836C6C16A5CCBB42EA369FCB610CC2388B1A9A3FBB7B893F8FBECF1E9F4716FD78A6A801B6F4F9EE7B2D70AB57E103D6752FF61081CA51FA799CE7D13832C89CA79942FEF00C0AA85B23335AD69B64BD4EA550F19A394453628E26BFFF93E2CF207F3AE7DC2CDE7B5E65AD38C07EF864A30A3EAD43AC832388E919434AFF387B01D61332670F4F939179425EED7C4C89FF7F09D368A5A012290FCA8E5A45AD7C127F2FCD618D48E58C95313C07F138B2458D48E5307BDE719EFB3C3BC99AA999C635FAF21AE7E0D8D1794492337C78BE9F2AA282A8DDD43BD46B7FE9BFF7A6A8662632786FE53227EE300744FEA48DEBE6F6F061AD145422E541D951ABA895922FC8756568EE428A7A66224A335F1E3EB21044EDA6DEA15E93FCFD7A2297AEA3E4DAAE5F6FE9D7636B74ABE445EDBA2059C9476295489EE53A27FEC8CC754AFB21128946AC472592B6E5EB1AFDFAA27E5DA95F573C625DF9D0FBA05B57E8D795FA758D6E7D0A5FEC75856E7D0ABAF5A86E5DA3F7AFDEEF7F02EADE474B],'Project'=[ZIPBE08000078DAED944F4BC2601CC7BFA33F6EC8DA216D10844306DBBBA87756C72EE90EF60A22CA8381372F625848463B78702DD192CC8312B81AAC8DC4F528FEB7415151909F87CF0EBFEFF37D7678C6008A2C610BE449E39806D600C8448148C6BD798F458CA0FA1222913D28D1281445412CB68F83C323C4E3719C241248269348A55248774DA7719EC9E02C9B452E97433E9F87AAAA28692A4E2F2B28140A28168BD0AF35DCE81A745D47A55442B95C4655BB40AB728587FB5B54EFAAA8D56AA8D7EB68369B786C34F0DC32601A062CD384655970AC27BCD8361CC7C16BBB8D4EA7833973E67C1FAEEB7E6CE3D2BB8CF2803C421A309E8BEB33881EFDE109BFD6EF9FF0893E2FCFF0D5BE2CFFE73EBFEA67BCEF87F1F99669C6BBCF49D206437BF70392C08D7FBEA41F66A5A132179A8C49DF4FF60C0CB3537177E61787F2AC6F3246800F8AC1605F9E6357FED43FC0B581D00FB949DCB67777C83B28E2823BCD1B545AE3FB]]
Point(doAddIcon)
Point(doAddChild)
Point(doSelect)
link(onChange,5248925:doFor,[(191,237)(191,275)(107,275)(107,314)])
}
Add(Hub,5488052,231,49)
{
link(onEvent1,13900742:doWork2,[(257,55)(257,76)(170,76)(170,97)])
link(onEvent2,9544069:doWork3,[(257,62)(257,251)])
}
Add(HubEx,9544069,101,245)
{
Angle=1
link(onEvent,14397807:doLoad,[(105,258)])
}
Add(FileSearch,12332463,63,238)
{
Ext="*.list2"
link(onSearch,4772271:doPart,[(107,244)(107,262)(51,262)(51,286)])
link(Dir,2770280:CurrentDir,[])
}
Add(Dir,2770280,70,196)
{
}
Add(If_else,4212860,119,196)
{
Op2=String(projectslist)
link(onTrue,1945440:doEvent1,[])
link(Op1,4772271:Part,[(125,177)(97,177)(97,324)(69,324)])
}
Add(FilePartElm,4772271,63,280)
{
Mode=2
Point(Part)
link(onPart,4212860:doCompare,[(107,286)(107,202)])
}
Add(Hub,1945440,161,196)
{
OutCount=3
link(onEvent1,9544069:doWork2,[(187,202)(187,226)(96,226)(96,251)])
link(onEvent2,13900742:doWork3,[(179,209)(179,104)])
}
Add(For,5248925,119,308)
{
Start=1
link(onEvent,4117024:doEvent1,[])
link(End,14397807:Count,[(132,299)(153,299)])
}
Add(Hub,4117024,161,308)
{
link(onEvent1,14397807:doSelect,[(187,314)(187,300)(135,300)(135,286)])
link(onEvent2,9449312:doData,[])
}
Add(DoData,9449312,189,315)
{
Data=Integer(1)
link(onEventData,14397807:doAddIcon,[(233,321)(233,297)(135,297)(135,272)])
}

карма: 0

0
Ответов: 2236
Рейтинг: 676
#4: 2018-09-22 22:39:35 ЛС | профиль | цитата
sla8a писал(а):
выложить минимальную схему с вашей проблемой

карма: 11

0
Ответов: 167
Рейтинг: 7
#5: 2018-09-24 10:27:18 ЛС | профиль | цитата
Уже помощь пришла...
Add(MainForm,175371,161,119)
{
Width=554
Height=514
Caption="CmdsProjects"
}
Add(TreeViewEx,15828468,308,196)
{
Width=546
Height=485
Align=5
Strings=#7:Проекты|
FileName="projectslist.list2"
ImgSize=20
IconsState=[]
Icons=['1'=[ZIPBE25000078DAED990954D4E7B9C62731E726ED4D8EBDB7EBBDA73D499BA6CD4DBA7BCDE9ED5DECE949BCBD8DA605311583EC228328222EB8E096E0028218D94140020AB22308CAA6B2890C300CFB26DBB0CE00C3BEF3F4F96686809E9A989BB1273DEDDFF3F00D33DFCCFCDEE5FF7EEF2B12C953FCF7334B097FBE2489794522F98644227995FA19C5A7B5CF8BEBD82B92BFE92BA8BCD3EE8537B7AEF8EAEFB63FF3AF46CE4FFF55B15774FA9CA956C1F3564DE4D77FB7FD6BE47FEE7BA6FBFF2A6C08AE501E39AFE8854BF3041883D997D76F33FEA191C34F5E7DD7F985D7AC8F3CBDCAC1FDA92F30FB167F7937F6358D6137F9F93B5E5A676FFFAA9183C94F37487FB36A83FD0F579B489FFFAF3D5E5F381B42E4CA55C172250E358C68D985F81CBEB34EBAE7152347AB1F9B6C5FBFCA44FA3FAB37D8FD72B591EDAB6F18DBFDF3C39FE159AAFCEEE9E2368BD345ADB11E251D9D270B9A6F3B47DFB0E54BDFA6FE8512EFF912B5C2D0FCA1F2AED01375431FB30BF139C17FF0FB468ED21F6DDCB1F117EF3ABE49FFFF6AB5B1DD6ADAF073D30F82DE74CBA8B0F728ED8CF69475B57B55F4C0A756850B2D4338DF31029FFB1A1CCFA92EE1C7FF927A435F26BF4F7D8D7A565B2E0DC15ED9E5E359A37E805DCB5FD9856FAF931E7ED96887D3EB1B779AAD75F1B0B6F18B77778EC9CB3C907AAFE7C84D39DCEFD4E1B4AC1567EAD5387E7F18AE4D1AEC69D4601F75A05983FD32E66389122E59D5D5E61EC1C7F975FF49FD94FA0EF5FCE78DC5C5CAEE23BE55FDDAFBF5617EBE865F397926189F8E2CB30DBDAEDE1D9F0FB74C198EE555C1ADB00EAEC50D7029698633F977CA7BE0583B0469ED20EC6B06B0AD66108E8CE79EC621DAA6847B5D8F88859C5FF96B6A8D3E1E3FD0C7E21FFE3FB10853746F09AEEAC5A19671EC6D99F8D886C595AF63F385385885A5635B5C1E1CD24BE0489F3B93DFF9760D9CF21BB0BDB019F625ADB02DEF8175D5002C2B0760A1955AFBFBC5823CE0920D2ECAE5385BDE0D3DFFA20DFF41BD4E7D937AEEB3D810AEE85E25F84EDD1FC5C1D649B8DE9FC4BE9649EC59C6CF3DF82DF98D83D3B0E54A2E6C538AB135B31CB6372B619B5D05EB5B75B02968824D711B2C982766E4DE5CA1D6CA54AEC6162AA4A408483F8A90EA5A88FB43CFFDDFFA3C12FCFF4E896E6125F5D8674CB0A2A7D6BB65189E1DD338D23E85436D9338403BF66BEDD0D9105ED583FF3D1F87B7035361F45116FE985008B3B45258DCA8846556352CF3EA6191DF04CBE2766C29EDD671539B2A54D854AEC27BE4F76BE844FF501F8294638BFC8BDC6FE8D97F4EFD485F9F1E3B8F22C8E6A99C864FE70C4E744CE1286D384C1B442C0EE86321F6FCFA5C1CD606A4E2F791597837BE109BAF95C2EC861CE6595530CFD5F15B90DF5CD60333B9FA011BC4E3C08E51882B90FCDEF25E3CC4FD133DFBBF512F52FFF4B8365CAAEEC5F9EE195C50CEE064E734DEEF9CC231DAB13C1662CF1AEF38BC45FEF5115930D1F2CB6096A1E3B7A0FF2DF39B617557C76FCEFC596E83F07FD0227F27F92BB5FC8BDCAFEBB9C53DFC3D3DFFB7F479F4ECA7E552644D2F7C7B67E04F1B3CBBA6719A72673C96C742EC11FC6BFDF5FC7105D824FC9FA9E3B7CCAD85554133ACC96F59AEE35F6E83997C00419D3A7E913FE7147D58E66F91F32F532F2D3BDFBEA13FE39ED7C7E1E947C5E2A39A3E04F6CF22A86716DE3D33384B9DA10D27954BB1107BD69C5BE4BF0993ABF9304D217F46392C6E2A6095CBFB97F5C7E66E07ACCB7A60A91878C0060BF287D0EF1FF3B34EEBB917FDBD9CFBABD457A817A87FD4C7E09947F147D5F621B47F0EA17DB3B8409DEF9BD1DAE1D9BD140BB1678DF755BCE597827561993089B90DD3E4126CB95E46FE4AD8307F6C0A5B605B427ED61F6BD6CCE53688C7A17AFED0AE31F8546BF997737FFDCF703FA7F7FD339FE4FFE8DA7E44A8E710411B0255B3F0A33EA41DE77A976211513F803DCCF7B7FC92B1EE6206365CB9854D89C5304F97C12A4B41FE3A6C65FED891DF56D605ABB25E582B74DCE21CB0A91A449852C71FD64DFE1A151ECA93CFCCBD785DAEEB47D4C03C3E523106037308A60268836FFF522CBCBAA6780674E9F843AFC3383A179BE28B604E9BAC84FF59FFEDC4F975AF0376F4BF0DEF015BB2DB2806C93E00BBEA4104748CA17264067E8CC3F95A351EF2F7973F2BF7E275A55E852B43F3B84C1B22B8860FE9EC0852EB62A1CD29C642EC7BCB3789FC69308ECA81296B90459A0C36CCFFADE4B72F6A81B4B403D2B26ED855F4C24E70D3EF42BBEA8770AC690467DA4710C0FC395FA7E5FF5CDC8B570CB9628717103BB480E861C64123EC98C3C5C1A55884D216B16FADE00F4983C947D9D8CC1A64C933CC96FCDBC82F25BF23F91D783649E57D90925BCADEC7A16608275B4610CCFC09640C02D98B7A5775077F5EEEC52BB6418D849105C46B1610C3F5CAC83CA268C725CD522C62B98A7D6BFD92B0FE21FEADCC7FFBDBEC7F8AEF6387AC138EE477A8ECC376E68C23D99DD8BB899A7FA1731CFEECA73DCBDBCD0CC1BD785D6D5423710448D40071630BB84AC58C2EE0F2C8522C1286E720F6FD96FE7F47CFFF5E7C01ACC96F477E07F23B92DF89FC3BC9BFA3B21F3BE8FB5DEC435DEA3408EF1A4708E5DB3C04BBC0CB2F18827BF18A6B1C40328F96A46120619C768C3316B42176742916C95CC53E1D7F3A364665C38CFC36D74B619FADC076F23BDDBD0FE732259CD93F3B917F177DBF9BBEDFD7A04164177BA89E092DBFA1E7ADF8A6412D7F3263903CA153D2B8B0652916E963F310FBFE8FFC7F084DC7BBD139D8925000DBF452487314D8C9FED999FC2EE54AEC616FE0A2E01C41F6BDF51A1CE41C134DF6C89E49F8B6680CCE9FD0FC207FEA2490226C98D0C5228136644F70E5BEB799FF46E4DF447E0BF2DB5D97613BF99D0A1AB19BBDFF5ECEF9FB15BDD85BA5C23EF2BBD2F76E4DC3B8D23B81A8DE49F8712E33347F2263FA30FFA2B4F1602C8AA71620F6BDED9F0C63D67F53F25B915FCAF377472E6718F2EF23BF6B45375CD9DBB856AB70A06118871B8771BC790457C91FDD3709FFD61183F327B53C9A5F2B3E5739C37870DF7AFF246CB8988EF72EE7C02691FC19657022FFDEC246B8DE6BC321CEF96EEC0D0E73867623FB51D67C77D6CE04B25F16FCEDA306E74F663DFE24FE6B54DD2C5FE3BE77029261427E33FA7F6B52211CC9EF9C5B8DFD458D38246BC311CE69C76BFA71BC6E00C799371F90FD4CEB2892C97E850AE8303C7FCA63F28B7DBF27FF46F26FA1FFEDC8BF83FDE7DEBC6A1C286E825B593B4E70CE71E7D9EADE30C8336B14A739937AB58FE19A6A0AB1829FE780A1F9535B871F8B5FECFB43400AFEC8FECD8233F0B6E442ECBA598E7D9CDF0FDF6DC631F2BB57F5E274BD1AA7C9EF21D8DBD82B903F433D85ABFD539CBDC60DCE7FADEDF1F8C53EC1BF292C039631B99072867726BF2BF98F9634E3FD8A0E9CE29C73B661005EACB5DECC1BC1EED7318E1BE48F630C82780E189A3FAD6DE413F9D3A8B639AEDC67149802D3880C58C5E6C131F52E5CB22B7030BF16C7C97F52DE090FCE09E7C8EEC33AFF21D97DC91EA49C40D6E034E2057FB7E1F9D3DB3F9D9FE51F629FE0DF7C29135BE36F63477A09F6E654C2ADA00E274A5B708AFC67EBFAF021F92FB0CEFBB68F33DFD937903F87FC09AA6904F30C3334FF75D6844FE31797D8671C9C0AB3A82C6C4B2AC0AE8C52B8E655E168613D3E90DDC719CE075EE4173D8238A7023A2738F34E208C39934BFE2435F97BA70CCE9FF118FC743FC43E517B44EE3B5C2BC69E6C390EDEA9C6B1E206B8CB5AE159D58573F57DF0E3391124F286ECC1F47D78D7246E913F99FC217D4F809F35EDB1F8B9CFF4D20DD826E66367A60CFBF214382C72A7A409A7CADB7196FC1FB6704E678D092573887212A1E48FE816FC334819207FFFB4C1F9333F855FCEB3779EFC629F794C1EA4CC7BE79C0A1CA0EFDD8AEAF1FEBD66785475C2B7558360E64A187985840D61D425C13F348354F287AA660CCE7F43F9687E25EBCE249D5F39CA19929C5B538AB0933573EFAD2A1C2CA8C509590BBC3817F8D3E781ECEF057F78F714227A74368453513D53B8A399411A7328546D78FE9BFCEE3FC72F6A661F1D5FC0EFF5E1F964C3F3763BF36677AE020799F3A778AF9EEF1C851FED0F10F3096BE345D127B3CF8CE67D1AD5A7530CCFADA2E1596432061707660DCE9FD5F520BFC877D1AF355039ACD9DEC58DEC95F3B18DB38ACB1D9E5555DDF0642D3DC7FBD957CB3E86909E7184935BB05FE57B1279AFA6D2D737C87C8BBEAF9F9843B6669633F593E09FF898FF1AF98BA775FDF20DFAD0A3B001E6BC5FA5E29C2DEF602FC9BE80E79837D92F903DA84B704F205635C9FC9E22EF340A4766211B9D836C6C16A5CCBB42EA369FCB610CC2388B1A9A3FBB7B893F8FBECF1E9F4716FD78A6A801B6F4F9EE7B2D70AB57E103D6752FF61081CA51FA799CE7D13832C89CA79942FEF00C0AA85B23335AD69B64BD4EA550F19A394453628E26BFFF93E2CF207F3AE7DC2CDE7B5E65AD38C07EF864A30A3EAD43AC832388E919434AFF387B01D61332670F4F939179425EED7C4C89FF7F09D368A5A012290FCA8E5A45AD7C127F2FCD618D48E58C95313C07F138B2458D48E5307BDE719EFB3C3BC99AA999C635FAF21AE7E0D8D1794492337C78BE9F2AA282A8DDD43BD46B7FE9BFF7A6A8662632786FE53227EE300744FEA48DEBE6F6F061AD145422E541D951ABA895922FC8756568EE428A7A66224A335F1E3EB21044EDA6DEA15E93FCFD7A2297AEA3E4DAAE5F6FE9D7636B74ABE445EDBA2059C9476295489EE53A27FEC8CC754AFB21128946AC472592B6E5EB1AFDFAA27E5DA95F573C625DF9D0FBA05B57E8D795FA758D6E7D0A5FEC75856E7D0ABAF5A86E5DA3F7AFDEEF7F02EADE474B],'0'=[ZIPBE08000078DAED944F4BC2601CC7BFA33F6EC8DA216D10844306DBBBA87756C72EE90EF60A22CA8381372F625848463B78702DD192CC8312B81AAC8DC4F528FEB7415151909F87CF0EBFEFF37D7678C6008A2C610BE449E39806D600C8448148C6BD798F458CA0FA1222913D28D1281445412CB68F83C323C4E3719C241248269348A55248774DA7719EC9E02C9B452E97433E9F87AAAA28692A4E2F2B28140A28168BD0AF35DCE81A745D47A55442B95C4655BB40AB728587FB5B54EFAAA8D56AA8D7EB68369B786C34F0DC32601A062CD384655970AC27BCD8361CC7C16BBB8D4EA7833973E67C1FAEEB7E6CE3D2BB8CF2803C421A309E8BEB33881EFDE109BFD6EF9FF0893E2FCFF0D5BE2CFFE73EBFEA67BCEF87F1F99669C6BBCF49D206437BF70392C08D7FBEA41F66A5A132179A8C49DF4FF60C0CB3537177E61787F2AC6F3246800F8AC1605F9E6357FED43FC0B581D00FB949DCB67777C83B28E2823BCD1B545AE3FB]]
Point(doAddIcon)
Point(doAddChild)
Point(doSelect)
Point(IconArray)
Point(IconStArray)
Point(CheckArray)
Point(Matrix)
Point(Index)
Point(ItemChild)
Point(ItemParent)
Point(ItemAtPos)
Point(Parent)
Point(Child)
link(IconID,10814337:Value,[(328,180)(342,180)])
}
Add(Button,7777963,196,168)
{
Left=195
Top=165
Align=4
Caption="1"
link(onClick,2372433:doEvent1,[(247,174)(247,146)])
}
Add(Button,14566443,196,217)
{
Left=195
Top=165
Align=4
Caption="0"
link(onClick,369362:doEvent1,[])
}
Add(Memory,10814337,336,133)
{
Default=Integer(1)
}
Add(Hub,2372433,252,140)
{
link(onEvent1,15527427:doData,[(270,146)(270,104)])
link(onEvent2,14918014:doWork1,[(297,153)])
}
Add(DoData,15527427,273,98)
{
Data=Integer(1)
link(onEventData,281838:doWork2,[(311,104)(311,139)])
}
Add(DoData,6164551,252,217)
{
Data=Integer(0)
link(onEventData,281838:doWork3,[(312,223)])
}
Add(HubEx,281838,308,133)
{
link(onEvent,10814337:doValue,[])
}
Add(Hub,369362,231,217)
{
link(onEvent1,6164551:doData,[])
link(onEvent2,14918014:doWork2,[(269,230)(269,195)])
}
Add(HubEx,14918014,293,189)
{
Angle=1
link(onEvent,15828468:doAdd,[(297,202)])
}



Вся суть в том что добавление иконок идет с добавлением элементов по точке IconID ,ВНИМАНИЕ ID! Поэтому иконки называться должны цифрами! И в точку через память получать номер той иконки! которую и надо добавить на новое событие!

Редактировалось 2 раз(а), последний 2018-09-24 10:30:51
карма: 0
c, c++, lua
0
Ответов: 2236
Рейтинг: 676
#6: 2018-09-26 01:28:39 ЛС | профиль | цитата
UtoECat писал(а):
иконки называться должны цифрами!
Никому они ничего не должны! Названия иконок заданные в свойстве Icons не имеют никакого значения. (Смотрите оба примера идущие ниже, думайте.)
UtoECat писал(а):
Вся суть в том что добавление иконок идет с добавлением элементов по точке IconID ,ВНИМАНИЕ ID!
При добавлении иконки и подачи на doAdd названия узла, нужно также подать на точку IconID номер иконки (в описании точки так и написано). Номера иконок как они расположены в свойстве Icons (первая начинается с 0, вторая - 1, третья - 2 и т.д.)

Так же можно подать на doAdd MT-поток с данными [Название узла][Номер иконки]:
Add(MainForm,175371,259,287)
{
Width=704
Height=331
Caption="CmdsProjects"
}
Add(TreeViewEx,15828468,602,287)
{
Width=696
Height=264
Align=5
Strings=#7:Проекты|
FileName="projectslist.list2"
ImgSize=20
IconsState=[]
Icons=['блаблабла'=[ZIPBE25000078DAED990954D4E7B9C62731E726ED4D8EBDB7EBBDA73D499BA6CD4DBA7BCDE9ED5DECE949BCBD8DA605311583EC228328222EB8E096E0028218D94140020AB22308CAA6B2890C300CFB26DBB0CE00C3BEF3F4F96686809E9A989BB1273DEDDFF3F00D33DFCCFCDEE5FF7EEF2B12C953FCF7334B097FBE2489794522F98644227995FA19C5A7B5CF8BEBD82B92BFE92BA8BCD3EE8537B7AEF8EAEFB63FF3AF46CE4FFF55B15774FA9CA956C1F3564DE4D77FB7FD6BE47FEE7BA6FBFF2A6C08AE501E39AFE8854BF3041883D997D76F33FEA191C34F5E7DD7F985D7AC8F3CBDCAC1FDA92F30FB167F7937F6358D6137F9F93B5E5A676FFFAA9183C94F37487FB36A83FD0F579B489FFFAF3D5E5F381B42E4CA55C172250E358C68D985F81CBEB34EBAE7152347AB1F9B6C5FBFCA44FA3FAB37D8FD72B591EDAB6F18DBFDF3C39FE159AAFCEEE9E2368BD345ADB11E251D9D270B9A6F3B47DFB0E54BDFA6FE8512EFF912B5C2D0FCA1F2AED01375431FB30BF139C17FF0FB468ED21F6DDCB1F117EF3ABE49FFFF6AB5B1DD6ADAF073D30F82DE74CBA8B0F728ED8CF69475B57B55F4C0A756850B2D4338DF31029FFB1A1CCFA92EE1C7FF927A435F26BF4F7D8D7A565B2E0DC15ED9E5E359A37E805DCB5FD9856FAF931E7ED96887D3EB1B779AAD75F1B0B6F18B77778EC9CB3C907AAFE7C84D39DCEFD4E1B4AC1567EAD5387E7F18AE4D1AEC69D4601F75A05983FD32E66389122E59D5D5E61EC1C7F975FF49FD94FA0EF5FCE78DC5C5CAEE23BE55FDDAFBF5617EBE865F397926189F8E2CB30DBDAEDE1D9F0FB74C198EE555C1ADB00EAEC50D7029698633F977CA7BE0583B0469ED20EC6B06B0AD66108E8CE79EC621DAA6847B5D8F88859C5FF96B6A8D3E1E3FD0C7E21FFE3FB10853746F09AEEAC5A19671EC6D99F8D886C595AF63F385385885A5635B5C1E1CD24BE0489F3B93DFF9760D9CF21BB0BDB019F625ADB02DEF8175D5002C2B0760A1955AFBFBC5823CE0920D2ECAE5385BDE0D3DFFA20DFF41BD4E7D937AEEB3D810AEE85E25F84EDD1FC5C1D649B8DE9FC4BE9649EC59C6CF3DF82DF98D83D3B0E54A2E6C538AB135B31CB6372B619B5D05EB5B75B02968824D711B2C982766E4DE5CA1D6CA54AEC6162AA4A408483F8A90EA5A88FB43CFFDDFFA3C12FCFF4E896E6125F5D8674CB0A2A7D6BB65189E1DD338D23E85436D9338403BF66BEDD0D9105ED583FF3D1F87B7035361F45116FE985008B3B45258DCA8846556352CF3EA6191DF04CBE2766C29EDD671539B2A54D854AEC27BE4F76BE844FF501F8294638BFC8BDC6FE8D97F4EFD485F9F1E3B8F22C8E6A99C864FE70C4E744CE1286D384C1B442C0EE86321F6FCFA5C1CD606A4E2F791597837BE109BAF95C2EC861CE6595530CFD5F15B90DF5CD60333B9FA011BC4E3C08E51882B90FCDEF25E3CC4FD133DFBBF512F52FFF4B8365CAAEEC5F9EE195C50CEE064E734DEEF9CC231DAB13C1662CF1AEF38BC45FEF5115930D1F2CB6096A1E3B7A0FF2DF39B617557C76FCEFC596E83F07FD0227F27F92BB5FC8BDCAFEBB9C53DFC3D3DFFB7F479F4ECA7E552644D2F7C7B67E04F1B3CBBA6719A72673C96C742EC11FC6BFDF5FC7105D824FC9FA9E3B7CCAD85554133ACC96F59AEE35F6E83997C00419D3A7E913FE7147D58E66F91F32F532F2D3BDFBEA13FE39ED7C7E1E947C5E2A39A3E04F6CF22A86716DE3D33384B9DA10D27954BB1107BD69C5BE4BF0993ABF9304D217F46392C6E2A6095CBFB97F5C7E66E07ACCB7A60A91878C0060BF287D0EF1FF3B34EEBB917FDBD9CFBABD457A817A87FD4C7E09947F147D5F621B47F0EA17DB3B8409DEF9BD1DAE1D9BD140BB1678DF755BCE597827561993089B90DD3E4126CB95E46FE4AD8307F6C0A5B605B427ED61F6BD6CCE53688C7A17AFED0AE31F8546BF997737FFDCF703FA7F7FD339FE4FFE8DA7E44A8E710411B0255B3F0A33EA41DE77A976211513F803DCCF7B7FC92B1EE6206365CB9854D89C5304F97C12A4B41FE3A6C65FED891DF56D605ABB25E582B74DCE21CB0A91A449852C71FD64DFE1A151ECA93CFCCBD785DAEEB47D4C03C3E523106037308A60268836FFF522CBCBAA6780674E9F843AFC3383A179BE28B604E9BAC84FF59FFEDC4F975AF0376F4BF0DEF015BB2DB2806C93E00BBEA4104748CA17264067E8CC3F95A351EF2F7973F2BF7E275A55E852B43F3B84C1B22B8860FE9EC0852EB62A1CD29C642EC7BCB3789FC69308ECA81296B90459A0C36CCFFADE4B72F6A81B4B403D2B26ED855F4C24E70D3EF42BBEA8770AC690467DA4710C0FC395FA7E5FF5CDC8B570CB9628717103BB480E861C64123EC98C3C5C1A55884D216B16FADE00F4983C947D9D8CC1A64C933CC96FCDBC82F25BF23F91D783649E57D90925BCADEC7A16608275B4610CCFC09640C02D98B7A5775077F5EEEC52BB6418D849105C46B1610C3F5CAC83CA268C725CD522C62B98A7D6BFD92B0FE21FEADCC7FFBDBEC7F8AEF6387AC138EE477A8ECC376E68C23D99DD8BB899A7FA1731CFEECA73DCBDBCD0CC1BD785D6D5423710448D40071630BB84AC58C2EE0F2C8522C1286E720F6FD96FE7F47CFFF5E7C01ACC96F477E07F23B92DF89FC3BC9BFA3B21F3BE8FB5DEC435DEA3408EF1A4708E5DB3C04BBC0CB2F18827BF18A6B1C40328F96A46120619C768C3316B42176742916C95CC53E1D7F3A364665C38CFC36D74B619FADC076F23BDDBD0FE732259CD93F3B917F177DBF9BBEDFD7A04164177BA89E092DBFA1E7ADF8A6412D7F3263903CA153D2B8B0652916E963F310FBFE8FFC7F084DC7BBD139D8925000DBF452487314D8C9FED999FC2EE54AEC616FE0A2E01C41F6BDF51A1CE41C134DF6C89E49F8B6680CCE9FD0FC207FEA2490226C98D0C5228136644F70E5BEB799FF46E4DF447E0BF2DB5D97613BF99D0A1AB19BBDFF5ECEF9FB15BDD85BA5C23EF2BBD2F76E4DC3B8D23B81A8DE49F8712E33347F2263FA30FFA2B4F1602C8AA71620F6BDED9F0C63D67F53F25B915FCAF377472E6718F2EF23BF6B45375CD9DBB856AB70A06118871B8771BC790457C91FDD3709FFD61183F327B53C9A5F2B3E5739C37870DF7AFF246CB8988EF72EE7C02691FC19657022FFDEC246B8DE6BC321CEF96EEC0D0E73867623FB51D67C77D6CE04B25F16FCEDA306E74F663DFE24FE6B54DD2C5FE3BE77029261427E33FA7F6B52211CC9EF9C5B8DFD458D38246BC311CE69C76BFA71BC6E00C799371F90FD4CEB2892C97E850AE8303C7FCA63F28B7DBF27FF46F26FA1FFEDC8BF83FDE7DEBC6A1C286E825B593B4E70CE71E7D9EADE30C8336B14A739937AB58FE19A6A0AB1829FE780A1F9535B871F8B5FECFB43400AFEC8FECD8233F0B6E442ECBA598E7D9CDF0FDF6DC631F2BB57F5E274BD1AA7C9EF21D8DBD82B903F433D85ABFD539CBDC60DCE7FADEDF1F8C53EC1BF292C039631B99072867726BF2BF98F9634E3FD8A0E9CE29C73B661005EACB5DECC1BC1EED7318E1BE48F630C82780E189A3FAD6DE413F9D3A8B639AEDC67149802D3880C58C5E6C131F52E5CB22B7030BF16C7C97F52DE090FCE09E7C8EEC33AFF21D97DC91EA49C40D6E034E2057FB7E1F9D3DB3F9D9FE51F629FE0DF7C29135BE36F63477A09F6E654C2ADA00E274A5B708AFC67EBFAF021F92FB0CEFBB68F33DFD937903F87FC09AA6904F30C3334FF75D6844FE31797D8671C9C0AB3A82C6C4B2AC0AE8C52B8E655E168613D3E90DDC719CE075EE4173D8238A7023A2738F34E208C39934BFE2435F97BA70CCE9FF118FC743FC43E517B44EE3B5C2BC69E6C390EDEA9C6B1E206B8CB5AE159D58573F57DF0E3391124F286ECC1F47D78D7246E913F99FC217D4F809F35EDB1F8B9CFF4D20DD826E66367A60CFBF214382C72A7A409A7CADB7196FC1FB6704E678D092573887212A1E48FE816FC334819207FFFB4C1F9333F855FCEB3779EFC629F794C1EA4CC7BE79C0A1CA0EFDD8AEAF1FEBD66785475C2B7558360E64A187985840D61D425C13F348354F287AA660CCE7F43F9687E25EBCE249D5F39CA19929C5B538AB0933573EFAD2A1C2CA8C509590BBC3817F8D3E781ECEF057F78F714227A74368453513D53B8A399411A7328546D78FE9BFCEE3FC72F6A661F1D5FC0EFF5E1F964C3F3763BF36677AE020799F3A778AF9EEF1C851FED0F10F3096BE345D127B3CF8CE67D1AD5A7530CCFADA2E1596432061707660DCE9FD5F520BFC877D1AF355039ACD9DEC58DEC95F3B18DB38ACB1D9E5555DDF0642D3DC7FBD957CB3E86909E7184935BB05FE57B1279AFA6D2D737C87C8BBEAF9F9843B6669633F593E09FF898FF1AF98BA775FDF20DFAD0A3B001E6BC5FA5E29C2DEF602FC9BE80E79837D92F903DA84B704F205635C9FC9E22EF340A4766211B9D836C6C16A5CCBB42EA369FCB610CC2388B1A9A3FBB7B893F8FBECF1E9F4716FD78A6A801B6F4F9EE7B2D70AB57E103D6752FF61081CA51FA799CE7D13832C89CA79942FEF00C0AA85B23335AD69B64BD4EA550F19A394453628E26BFFF93E2CF207F3AE7DC2CDE7B5E65AD38C07EF864A30A3EAD43AC832388E919434AFF387B01D61332670F4F939179425EED7C4C89FF7F09D368A5A012290FCA8E5A45AD7C127F2FCD618D48E58C95313C07F138B2458D48E5307BDE719EFB3C3BC99AA999C635FAF21AE7E0D8D1794492337C78BE9F2AA282A8DDD43BD46B7FE9BFF7A6A8662632786FE53227EE300744FEA48DEBE6F6F061AD145422E541D951ABA895922FC8756568EE428A7A66224A335F1E3EB21044EDA6DEA15E93FCFD7A2297AEA3E4DAAE5F6FE9D7636B74ABE445EDBA2059C9476295489EE53A27FEC8CC754AFB21128946AC472592B6E5EB1AFDFAA27E5DA95F573C625DF9D0FBA05B57E8D795FA758D6E7D0A5FEC75856E7D0ABAF5A86E5DA3F7AFDEEF7F02EADE474B],'блаблабла'=[ZIPBE08000078DAED944F4BC2601CC7BFA33F6EC8DA216D10844306DBBBA87756C72EE90EF60A22CA8381372F625848463B78702DD192CC8312B81AAC8DC4F528FEB7415151909F87CF0EBFEFF37D7678C6008A2C610BE449E39806D600C8448148C6BD798F458CA0FA1222913D28D1281445412CB68F83C323C4E3719C241248269348A55248774DA7719EC9E02C9B452E97433E9F87AAAA28692A4E2F2B28140A28168BD0AF35DCE81A745D47A55442B95C4655BB40AB728587FB5B54EFAAA8D56AA8D7EB68369B786C34F0DC32601A062CD384655970AC27BCD8361CC7C16BBB8D4EA7833973E67C1FAEEB7E6CE3D2BB8CF2803C421A309E8BEB33881EFDE109BFD6EF9FF0893E2FCFF0D5BE2CFFE73EBFEA67BCEF87F1F99669C6BBCF49D206437BF70392C08D7FBEA41F66A5A132179A8C49DF4FF60C0CB3537177E61787F2AC6F3246800F8AC1605F9E6357FED43FC0B581D00FB949DCB67777C83B28E2823BCD1B545AE3FB]]
Point(doExpand)
link(onChange,6189324:doData,[(653,293)(653,392)(540,392)(540,328)])
}
Add(Button,7777963,357,287)
{
Top=284
Width=696
Align=4
Caption="1"
Data=String(Файл)
link(onClick,1761242:doAdd,[])
AddHint(-17,-27,54,13,Data)
}
Add(Button,14566443,357,210)
{
Top=264
Width=696
Align=4
Caption="0"
Data=String(Папка)
link(onClick,14586836:doAdd,[])
AddHint(-9,-26,57,13,Data)
}
Add(MT_Add,14586836,427,210)
{
Data=Integer(0)
link(onAdd,5584717:doWork1,[(523,216)])
AddHint(-7,-22,21,13,Data)
}
Add(MT_Add,1761242,427,287)
{
Data=Integer(1)
link(onAdd,5584717:doWork2,[])
AddHint(-7,-22,21,13,Data)
}
Add(HubEx,5584717,519,287)
{
link(onEvent,15686246:doEvent,[])
}
Add(DoData,6189324,553,322)
{
Data=Integer(0)
link(onEventData,15828468:doExpand,[])
AddHint(-2,-19,21,13,Data)
}
Add(Debug,15686246,560,287)
{
WEName="MT-поток"
VDName=""
link(onEvent,15828468:doAdd,[])
}

Или выставить свойство IconsByIndex = true и подавать на doAdd строку в формате "<Номер иконки>Название узла":
Add(MainForm,175371,406,329)
{
Width=704
Height=331
Caption="CmdsProjects"
}
Add(TreeViewEx,15828468,651,231)
{
Width=696
Height=264
Align=5
IconByIndex=0
Strings=#10:<0>Проекты|
FileName="projectslist.list2"
ImgSize=20
IconsState=[]
Icons=['блаблабла'=[ZIPBE25000078DAED990954D4E7B9C62731E726ED4D8EBDB7EBBDA73D499BA6CD4DBA7BCDE9ED5DECE949BCBD8DA605311583EC228328222EB8E096E0028218D94140020AB22308CAA6B2890C300CFB26DBB0CE00C3BEF3F4F96686809E9A989BB1273DEDDFF3F00D33DFCCFCDEE5FF7EEF2B12C953FCF7334B097FBE2489794522F98644227995FA19C5A7B5CF8BEBD82B92BFE92BA8BCD3EE8537B7AEF8EAEFB63FF3AF46CE4FFF55B15774FA9CA956C1F3564DE4D77FB7FD6BE47FEE7BA6FBFF2A6C08AE501E39AFE8854BF3041883D997D76F33FEA191C34F5E7DD7F985D7AC8F3CBDCAC1FDA92F30FB167F7937F6358D6137F9F93B5E5A676FFFAA9183C94F37487FB36A83FD0F579B489FFFAF3D5E5F381B42E4CA55C172250E358C68D985F81CBEB34EBAE7152347AB1F9B6C5FBFCA44FA3FAB37D8FD72B591EDAB6F18DBFDF3C39FE159AAFCEEE9E2368BD345ADB11E251D9D270B9A6F3B47DFB0E54BDFA6FE8512EFF912B5C2D0FCA1F2AED01375431FB30BF139C17FF0FB468ED21F6DDCB1F117EF3ABE49FFFF6AB5B1DD6ADAF073D30F82DE74CBA8B0F728ED8CF69475B57B55F4C0A756850B2D4338DF31029FFB1A1CCFA92EE1C7FF927A435F26BF4F7D8D7A565B2E0DC15ED9E5E359A37E805DCB5FD9856FAF931E7ED96887D3EB1B779AAD75F1B0B6F18B77778EC9CB3C907AAFE7C84D39DCEFD4E1B4AC1567EAD5387E7F18AE4D1AEC69D4601F75A05983FD32E66389122E59D5D5E61EC1C7F975FF49FD94FA0EF5FCE78DC5C5CAEE23BE55FDDAFBF5617EBE865F397926189F8E2CB30DBDAEDE1D9F0FB74C198EE555C1ADB00EAEC50D7029698633F977CA7BE0583B0469ED20EC6B06B0AD66108E8CE79EC621DAA6847B5D8F88859C5FF96B6A8D3E1E3FD0C7E21FFE3FB10853746F09AEEAC5A19671EC6D99F8D886C595AF63F385385885A5635B5C1E1CD24BE0489F3B93DFF9760D9CF21BB0BDB019F625ADB02DEF8175D5002C2B0760A1955AFBFBC5823CE0920D2ECAE5385BDE0D3DFFA20DFF41BD4E7D937AEEB3D810AEE85E25F84EDD1FC5C1D649B8DE9FC4BE9649EC59C6CF3DF82DF98D83D3B0E54A2E6C538AB135B31CB6372B619B5D05EB5B75B02968824D711B2C982766E4DE5CA1D6CA54AEC6162AA4A408483F8A90EA5A88FB43CFFDDFFA3C12FCFF4E896E6125F5D8674CB0A2A7D6BB65189E1DD338D23E85436D9338403BF66BEDD0D9105ED583FF3D1F87B7035361F45116FE985008B3B45258DCA8846556352CF3EA6191DF04CBE2766C29EDD671539B2A54D854AEC27BE4F76BE844FF501F8294638BFC8BDC6FE8D97F4EFD485F9F1E3B8F22C8E6A99C864FE70C4E744CE1286D384C1B442C0EE86321F6FCFA5C1CD606A4E2F791597837BE109BAF95C2EC861CE6595530CFD5F15B90DF5CD60333B9FA011BC4E3C08E51882B90FCDEF25E3CC4FD133DFBBF512F52FFF4B8365CAAEEC5F9EE195C50CEE064E734DEEF9CC231DAB13C1662CF1AEF38BC45FEF5115930D1F2CB6096A1E3B7A0FF2DF39B617557C76FCEFC596E83F07FD0227F27F92BB5FC8BDCAFEBB9C53DFC3D3DFFB7F479F4ECA7E552644D2F7C7B67E04F1B3CBBA6719A72673C96C742EC11FC6BFDF5FC7105D824FC9FA9E3B7CCAD85554133ACC96F59AEE35F6E83997C00419D3A7E913FE7147D58E66F91F32F532F2D3BDFBEA13FE39ED7C7E1E947C5E2A39A3E04F6CF22A86716DE3D33384B9DA10D27954BB1107BD69C5BE4BF0993ABF9304D217F46392C6E2A6095CBFB97F5C7E66E07ACCB7A60A91878C0060BF287D0EF1FF3B34EEBB917FDBD9CFBABD457A817A87FD4C7E09947F147D5F621B47F0EA17DB3B8409DEF9BD1DAE1D9BD140BB1678DF755BCE597827561993089B90DD3E4126CB95E46FE4AD8307F6C0A5B605B427ED61F6BD6CCE53688C7A17AFED0AE31F8546BF997737FFDCF703FA7F7FD339FE4FFE8DA7E44A8E710411B0255B3F0A33EA41DE77A976211513F803DCCF7B7FC92B1EE6206365CB9854D89C5304F97C12A4B41FE3A6C65FED891DF56D605ABB25E582B74DCE21CB0A91A449852C71FD64DFE1A151ECA93CFCCBD785DAEEB47D4C03C3E523106037308A60268836FFF522CBCBAA6780674E9F843AFC3383A179BE28B604E9BAC84FF59FFEDC4F975AF0376F4BF0DEF015BB2DB2806C93E00BBEA4104748CA17264067E8CC3F95A351EF2F7973F2BF7E275A55E852B43F3B84C1B22B8860FE9EC0852EB62A1CD29C642EC7BCB3789FC69308ECA81296B90459A0C36CCFFADE4B72F6A81B4B403D2B26ED855F4C24E70D3EF42BBEA8770AC690467DA4710C0FC395FA7E5FF5CDC8B570CB9628717103BB480E861C64123EC98C3C5C1A55884D216B16FADE00F4983C947D9D8CC1A64C933CC96FCDBC82F25BF23F91D783649E57D90925BCADEC7A16608275B4610CCFC09640C02D98B7A5775077F5EEEC52BB6418D849105C46B1610C3F5CAC83CA268C725CD522C62B98A7D6BFD92B0FE21FEADCC7FFBDBEC7F8AEF6387AC138EE477A8ECC376E68C23D99DD8BB899A7FA1731CFEECA73DCBDBCD0CC1BD785D6D5423710448D40071630BB84AC58C2EE0F2C8522C1286E720F6FD96FE7F47CFFF5E7C01ACC96F477E07F23B92DF89FC3BC9BFA3B21F3BE8FB5DEC435DEA3408EF1A4708E5DB3C04BBC0CB2F18827BF18A6B1C40328F96A46120619C768C3316B42176742916C95CC53E1D7F3A364665C38CFC36D74B619FADC076F23BDDBD0FE732259CD93F3B917F177DBF9BBEDFD7A04164177BA89E092DBFA1E7ADF8A6412D7F3263903CA153D2B8B0652916E963F310FBFE8FFC7F084DC7BBD139D8925000DBF452487314D8C9FED999FC2EE54AEC616FE0A2E01C41F6BDF51A1CE41C134DF6C89E49F8B6680CCE9FD0FC207FEA2490226C98D0C5228136644F70E5BEB799FF46E4DF447E0BF2DB5D97613BF99D0A1AB19BBDFF5ECEF9FB15BDD85BA5C23EF2BBD2F76E4DC3B8D23B81A8DE49F8712E33347F2263FA30FFA2B4F1602C8AA71620F6BDED9F0C63D67F53F25B915FCAF377472E6718F2EF23BF6B45375CD9DBB856AB70A06118871B8771BC790457C91FDD3709FFD61183F327B53C9A5F2B3E5739C37870DF7AFF246CB8988EF72EE7C02691FC19657022FFDEC246B8DE6BC321CEF96EEC0D0E73867623FB51D67C77D6CE04B25F16FCEDA306E74F663DFE24FE6B54DD2C5FE3BE77029261427E33FA7F6B52211CC9EF9C5B8DFD458D38246BC311CE69C76BFA71BC6E00C799371F90FD4CEB2892C97E850AE8303C7FCA63F28B7DBF27FF46F26FA1FFEDC8BF83FDE7DEBC6A1C286E825B593B4E70CE71E7D9EADE30C8336B14A739937AB58FE19A6A0AB1829FE780A1F9535B871F8B5FECFB43400AFEC8FECD8233F0B6E442ECBA598E7D9CDF0FDF6DC631F2BB57F5E274BD1AA7C9EF21D8DBD82B903F433D85ABFD539CBDC60DCE7FADEDF1F8C53EC1BF292C039631B99072867726BF2BF98F9634E3FD8A0E9CE29C73B661005EACB5DECC1BC1EED7318E1BE48F630C82780E189A3FAD6DE413F9D3A8B639AEDC67149802D3880C58C5E6C131F52E5CB22B7030BF16C7C97F52DE090FCE09E7C8EEC33AFF21D97DC91EA49C40D6E034E2057FB7E1F9D3DB3F9D9FE51F629FE0DF7C29135BE36F63477A09F6E654C2ADA00E274A5B708AFC67EBFAF021F92FB0CEFBB68F33DFD937903F87FC09AA6904F30C3334FF75D6844FE31797D8671C9C0AB3A82C6C4B2AC0AE8C52B8E655E168613D3E90DDC719CE075EE4173D8238A7023A2738F34E208C39934BFE2435F97BA70CCE9FF118FC743FC43E517B44EE3B5C2BC69E6C390EDEA9C6B1E206B8CB5AE159D58573F57DF0E3391124F286ECC1F47D78D7246E913F99FC217D4F809F35EDB1F8B9CFF4D20DD826E66367A60CFBF214382C72A7A409A7CADB7196FC1FB6704E678D092573887212A1E48FE816FC334819207FFFB4C1F9333F855FCEB3779EFC629F794C1EA4CC7BE79C0A1CA0EFDD8AEAF1FEBD66785475C2B7558360E64A187985840D61D425C13F348354F287AA660CCE7F43F9687E25EBCE249D5F39CA19929C5B538AB0933573EFAD2A1C2CA8C509590BBC3817F8D3E781ECEF057F78F714227A74368453513D53B8A399411A7328546D78FE9BFCEE3FC72F6A661F1D5FC0EFF5E1F964C3F3763BF36677AE020799F3A778AF9EEF1C851FED0F10F3096BE345D127B3CF8CE67D1AD5A7530CCFADA2E1596432061707660DCE9FD5F520BFC877D1AF355039ACD9DEC58DEC95F3B18DB38ACB1D9E5555DDF0642D3DC7FBD957CB3E86909E7184935BB05FE57B1279AFA6D2D737C87C8BBEAF9F9843B6669633F593E09FF898FF1AF98BA775FDF20DFAD0A3B001E6BC5FA5E29C2DEF602FC9BE80E79837D92F903DA84B704F205635C9FC9E22EF340A4766211B9D836C6C16A5CCBB42EA369FCB610CC2388B1A9A3FBB7B893F8FBECF1E9F4716FD78A6A801B6F4F9EE7B2D70AB57E103D6752FF61081CA51FA799CE7D13832C89CA79942FEF00C0AA85B23335AD69B64BD4EA550F19A394453628E26BFFF93E2CF207F3AE7DC2CDE7B5E65AD38C07EF864A30A3EAD43AC832388E919434AFF387B01D61332670F4F939179425EED7C4C89FF7F09D368A5A012290FCA8E5A45AD7C127F2FCD618D48E58C95313C07F138B2458D48E5307BDE719EFB3C3BC99AA999C635FAF21AE7E0D8D1794492337C78BE9F2AA282A8DDD43BD46B7FE9BFF7A6A8662632786FE53227EE300744FEA48DEBE6F6F061AD145422E541D951ABA895922FC8756568EE428A7A66224A335F1E3EB21044EDA6DEA15E93FCFD7A2297AEA3E4DAAE5F6FE9D7636B74ABE445EDBA2059C9476295489EE53A27FEC8CC754AFB21128946AC472592B6E5EB1AFDFAA27E5DA95F573C625DF9D0FBA05B57E8D795FA758D6E7D0A5FEC75856E7D0ABAF5A86E5DA3F7AFDEEF7F02EADE474B],'блаблабла'=[ZIPBE08000078DAED944F4BC2601CC7BFA33F6EC8DA216D10844306DBBBA87756C72EE90EF60A22CA8381372F625848463B78702DD192CC8312B81AAC8DC4F528FEB7415151909F87CF0EBFEFF37D7678C6008A2C610BE449E39806D600C8448148C6BD798F458CA0FA1222913D28D1281445412CB68F83C323C4E3719C241248269348A55248774DA7719EC9E02C9B452E97433E9F87AAAA28692A4E2F2B28140A28168BD0AF35DCE81A745D47A55442B95C4655BB40AB728587FB5B54EFAAA8D56AA8D7EB68369B786C34F0DC32601A062CD384655970AC27BCD8361CC7C16BBB8D4EA7833973E67C1FAEEB7E6CE3D2BB8CF2803C421A309E8BEB33881EFDE109BFD6EF9FF0893E2FCFF0D5BE2CFFE73EBFEA67BCEF87F1F99669C6BBCF49D206437BF70392C08D7FBEA41F66A5A132179A8C49DF4FF60C0CB3537177E61787F2AC6F3246800F8AC1605F9E6357FED43FC0B581D00FB949DCB67777C83B28E2823BCD1B545AE3FB]]
Point(doExpand)
link(onChange,6189324:doData,[(751,237)(751,341)(548,341)(548,272)])
}
Add(Button,7777963,490,231)
{
Top=284
Width=696
Align=4
Caption="1"
Data=String(<1>Файл)
link(onClick,15757621:doWork2,[])
AddHint(-17,-27,72,13,Data)
}
Add(Button,14566443,490,154)
{
Top=264
Width=696
Align=4
Caption="0"
Data=String(<0>Папка)
link(onClick,15757621:doWork1,[(578,160)])
AddHint(-9,-26,75,13,Data)
}
Add(DoData,6189324,560,266)
{
Data=Integer(0)
link(onEventData,15828468:doExpand,[])
AddHint(-2,-19,21,13,Data)
}
Add(HubEx,15757621,574,231)
{
link(onEvent,15828468:doAdd,[])
}


VitiaCat и UtoECat один человек?

Редактировалось 2 раз(а), последний 2018-09-26 01:30:46
карма: 11

0
Ответов: 58
Рейтинг: 0
#7: 2018-09-26 14:54:43 ЛС | профиль | цитата
Нет
карма: 0

0
Ответов: 26
Рейтинг: 6
#8: 2020-09-27 17:11:39 ЛС | профиль | цитата
При замене в стандартной схеме с TreeViewEx списка с дисками на элемент dir пропадают иконки у части файлов и иконки папок не правильные.
Что исправить необходимо?
Add(TreeViewEx,3940909,994,98)
{
Left=2
Top=22
Width=405
Height=468
Align=5
IconByIndex=0
Tooltips=0
TrackSelect=0
SingleExpand=0
AlwaysUseIcons=0
IconsState=[]
Icons=[]
Point(Parent)
Point(ItemChild)
Point(onExpand)
Point(onItemPath)
Point(Index)
Point(ItemAtPos)
Point(doAddIcon)
Point(doSelect)
Point(doItemBold)
Point(doItemHasChild)
Point(doItemPath)
Point(onMouseMove)
Point(onDblClick)
Point(doClearIcons)
Point(onKeyDown)
Point(doExpandToggle)
link(Parent,14090756:Var2,[])
link(onExpand,9082723:doEvent1,[(1068,118)(1068,76)])
link(onItemPath,3421795:doStrCat,[(1044,125)(1044,331)(573,331)(573,181)])
link(onMouseMove,9383077:doData,[(1061,132)(1061,230)])
link(onDblClick,1575324:doData,[(1053,139)(1053,293)])
link(onKeyDown,1636147:doCase,[])
}
Add(MultiElementEx,7731652,777,147)
{
@Hint=#20:DirsEnum & FilesEnum|
link(AddIcon,3940909:doAddIcon,[(817,153)(817,139)])
link(Add,3940909:doAdd,[(818,160)(818,199)(947,199)(947,104)])
link(HasChild,15735860:Input,[])
link(IconID,3940909:Count,[(783,122)(860,122)(860,238)(1000,238)])
}
BEGIN_SDK
Add(EditMultiEx,11561374,21,21)
{
WorkCount=#9:StartScan|8:NextScan|
EventCount=#7:AddIcon|3:Add|8:HasChild|
DataCount=#6:IconID|
Width=566
Height=214
link(StartScan,1293174:doEvent1,[(42,27)(42,69)])
link(NextScan,1293174:doEvent2,[(36,34)(36,76)])
}
Add(Hub,1293174,63,63)
{
InCount=2
OutCount=3
link(onEvent1,12779128:doClear,[(112,69)(112,83)])
link(onEvent2,15565532:doValue,[])
link(onEvent3,11931367:doSearch,[(107,83)(107,125)])
}
Add(FileSearch,14584482,175,70)
{
SubDir=1
Include=1
link(onSearch,9553220:doWork2,[])
}
Add(FilePart,9008190,350,133)
{
NameWOExt=1
link(onName,9698349:doString,[])
}
Add(DirTools,14772513,210,182)
{
Point(doExists)
link(onOK,3227344:doEvent,[])
}
Add(FileAttributes,4028852,350,63)
{
Point(doGetFileIcon)
Point(onGetFileIcon)
link(onGetFileIcon,5714619:doCase,[])
}
Add(HubEx,9553220,217,70)
{
link(onEvent,12779128:doAdd,[])
}
Add(ArrayEnum,12315292,252,126)
{
PColor(Array,16711935)
link(onItem,7218241:doEvent1,[])
link(Array,12779128:Array,[])
}
Add(FileSearch,11931367,119,119)
{
SubDir=1
link(onSearch,9553220:doWork3,[(221,125)])
link(onEndSearch,12315292:doEnum,[])
link(Dir,15565532:Value,[])
}
Add(Hub,7218241,294,126)
{
OutCount=3
link(onEvent1,4028852:doGetFileIcon,[(338,132)(338,90)])
link(onEvent2,9008190:doPart,[])
link(onEvent3,14772513:doExists,[(337,146)(337,170)(198,170)(198,209)])
}
Add(StrList,12779128,238,70)
{
}
Add(IndexToChanel,3227344,259,182)
{
Count=3
Point(Data)
link(onEvent2,11561374:HasChild,[(549,195)(549,41)])
link(Data,12315292:Index,[])
}
Add(Memory,15565532,126,70)
{
link(onData,14584482:doSearch,[])
}
Add(Case,5714619,413,70)
{
link(onNextCase,551165:doWork2,[])
link(onTrue,8027927:doData,[(461,83)(461,97)])
}
Add(Icon,7732298,476,28)
{
Icon=[ZIP7E03000078DA63606004420101062029C190C1CCC020C6C0C0A001C44021060506883808383033E0001F3F7EBCF6FCF975BCE0EEDDBB70F51F4E2D4B2304A64D9B86AC7E665A1A7E0404C8EAFFBF3983059D99F9FFCC198869E8EA2F6EFC7F1C8CD64EB0AEF4929ABD4165D2DCFFFDD9FF1F6DC4AA3EA23ACC33DBD335C5618DA3266BCF1AAE1D4FB9AEFCE73EF109680256F57F6BA341A6ED9CFFC2CB42B1348F6BDD75A07A2002099E3983A97EDFF4D8FFD5C1FF0FADFB9619E0176929B0FC84C6E2598ABBCF01D563353F636BF8FB42B7FFCBBB801695879BF29604729D6CE27A3315977AA0BF78526FAB26AF92F4DFC620B45038CB996B770DD7B3E9405D58D5FFFBF7CFA8FBA548C3FFC4B5FFB9DC6F98C65B732E29E4BAD5CFF5661650B6B1B111533DD00AFEF2FF491BFF73457D3609AB03722108A21E08D0D5FFBF92BB698FDFE22F0E93AF02D9FF3E3E86472E50F1810307E0EA81F1F80F1B00AA04796DA6315031904B503DD05860D00315031330727A3E3373265604540F4CC6C88A0F30FEFF4F16660662F6FFFF010A9DBA61]
}
Add(DoData,8027927,476,91)
{
link(onEventData,551165:doWork3,[(529,97)])
link(Data,7732298:Icon,[])
}
Add(FormatStr,9698349,399,140)
{
Mask="<%1,%1>%2"
link(onFString,11561374:Add,[(539,146)(539,34)])
link(Str1,11561374:IconID,[(405,36)(27,36)])
}
Add(HubEx,551165,525,70)
{
Angle=3
link(onEvent,11561374:AddIcon,[(529,27)])
}
END_SDK
Add(GetDataEx,14090756,1015,60)
{
link(Data,1973295:Value,[])
}
Add(Hub,8924140,931,147)
{
InCount=2
link(onEvent1,3940909:doItemBold,[])
link(onEvent2,3940909:doItemHasChild,[])
}
Add(If_else,8121668,728,154)
{
Type=1
Op2=Integer(0)
link(onTrue,7731652:NextScan,[])
link(Op1,3940909:ItemChild,[(734,126)(855,126)(855,245)(1014,245)])
}
Add(MathParse,16626468,889,154)
{
MathStr="%1 + %2 + 1"
link(onResult,8924140:doEvent2,[])
link(X1,14090756:Var1,[(895,65)])
}
Add(MultiElementEx,15735860,847,147)
{
@Hint=#10:Commutator|
link(_out1,8924140:doEvent1,[])
link(_out2,16626468:doCalc,[])
}
BEGIN_SDK
Add(EditMultiEx,13791183,21,21)
{
WorkCount=#5:_idx1|5:_idx2|5:Input|
EventCount=#5:_out1|5:_out2|
Width=167
Height=123
link(_idx1,502949:doWork1,[(41,27)(41,41)])
link(_idx2,502949:doWork2,[(37,34)(37,48)])
link(Input,3862713:doEvent,[(33,41)(33,90)])
}
Add(Icon,11878794,56,84)
{
@Hint=#5:#main|
Icon=[ZIP5E07000078DA636060044209090610C9E0C1CEC020C6C0C0A001C4402106030688380828B0330C7BF01F8CA86208E54651CB1C6AF96B84004AC20AAE9792B8FB8F0351987EA8E2AF51305AFE0CA3F4F31F0E7E02310314FFFC8F0EE603C518EC817E9067F83FFF3D50FE3350F00FB20AECFA01C8378636]
}
Add(ChanelToIndex,502949,54,35)
{
link(onIndex,4010096:doValue,[])
}
Add(Memory,4010096,110,35)
{
Default=Integer(0)
}
Add(IndexToChanel,3862713,110,84)
{
Point(Index)
link(onEvent1,13791183:_out1,[(161,90)(161,27)])
link(onEvent2,13791183:_out2,[(165,97)(165,34)])
link(Index,4010096:Value,[])
}
END_SDK
Add(StrCat,15328461,588,63)
{
Str2="\\"
link(onStrCat,7626839:doEvent1,[])
link(Str1,2558899:CurrentDir,[])
}
Add(StrCat,3421795,588,175)
{
link(onStrCat,10257169:doTrim,[])
link(Str1,15328461:Result,[])
}
Add(Hub,7626839,637,63)
{
OutCount=5
link(onEvent1,15735860:_idx1,[(831,69)(831,153)])
link(onEvent2,3940909:doClear,[(976,76)(976,111)])
link(onEvent3,3940909:doClearIcons,[(970,83)(970,174)])
link(onEvent4,1973295:doClear,[(704,90)(704,27)])
link(onEvent5,7731652:StartScan,[(704,97)(704,153)])
}
Add(Memory,1973295,1015,14)
{
Default=Integer(-1)
}
Add(Hub,13478344,1162,77)
{
InCount=2
OutCount=4
link(onEvent1,15735860:_idx2,[(1217,83)(1217,-11)(838,-11)(838,160)])
link(onEvent2,3940909:doSelect,[(1223,90)(1223,-5)(982,-5)(982,146)])
link(onEvent3,1973295:doValue,[(1229,97)(1229,7)(1003,7)(1003,20)])
link(onEvent4,5963792:doWork1,[(1229,104)])
}
Add(MultiElementEx,11861650,630,245)
{
@Hint=#19:RunFile & StatusBar|
link(onEvent,6492827:doText,[])
link(Data,10257169:Result,[])
}
BEGIN_SDK
Add(EditMultiEx,5574627,21,21)
{
WorkCount=#8:doExists|9:doExists1|
EventCount=#7:onEvent|
VarCount=#5:Value|
DataCount=#4:Data|
Width=524
Height=249
link(doExists,7031950:doExists,[(39,27)(39,111)])
link(doExists1,2911413:doExists,[(33,34)(33,160)])
link(Value,6061146:Value,[(27,249)(482,249)])
}
Add(Memory,6061146,476,147)
{
}
Add(Memory,11245289,245,140)
{
Default=String(Файл : )
link(onData,3019581:doEvent1,[])
}
Add(DirTools,7031950,56,84)
{
Point(doExists)
link(onOK,3639075:doEvent,[])
link(Source,11307465:Var2,[])
}
Add(IndexToChanel,3639075,105,84)
{
Count=3
Point(Data)
link(onEvent3,12696810:doShellExec,[])
}
Add(WinExec,12696810,154,91)
{
link(FileName,15190173:Var2,[])
}
Add(DirTools,2911413,84,133)
{
Point(doExists)
link(onOK,9961549:doEvent,[])
link(Source,12546755:Var2,[])
}
Add(IndexToChanel,9961549,133,133)
{
Count=3
Data=String(Папка: )
Point(Data)
link(onEvent2,7179707:doEvent1,[])
link(onEvent3,7179707:doEvent11,[])
}
Add(FilePart,15488265,357,196)
{
NameWOExt=1
link(onName,8876051:doWork2,[])
link(FileName,907058:Var3,[(363,58)])
}
Add(GetDataEx,12546755,84,53)
{
Angle=3
link(Data,11307465:Var3,[])
}
Add(GetDataEx,15190173,154,53)
{
Angle=3
link(Data,12546755:Var3,[])
}
Add(HubEx,8876051,399,203)
{
link(onEvent,5574627:onEvent,[(525,209)(525,27)])
}
Add(Hub,3019581,294,140)
{
OutCount=5
link(onEvent1,897687:doWork1,[(408,146)(408,153)])
link(onEvent2,8876051:doWork1,[(403,153)])
link(onEvent3,897687:doWork2,[])
link(onEvent4,15488265:doPart,[(339,167)(339,202)])
link(onEvent5,897687:doWork3,[(410,174)(410,167)])
}
Add(GetDataEx,11307465,56,53)
{
link(Data,5574627:Data,[(62,37)(27,37)])
}
Add(ChanelToIndex,897687,427,147)
{
Count=3
link(onIndex,6061146:doValue,[])
}
Add(MultiElementEx,7179707,189,140)
{
@Hint=#9:Mb, Kb, b|
link(onEvent1,11245289:doValue,[])
link(onEvent11,11245289:doClear,[])
link(onStrCat,8876051:doWork3,[(234,160)(234,237)(403,237)])
link(FileName,907058:Var2,[])
}
BEGIN_SDK
Add(EditMultiEx,4557491,21,21)
{
WorkCount=#8:doEvent1|9:doEvent11|
EventCount=#8:onEvent1|9:onEvent11|8:onStrCat|
DataCount=#8:FileName|
Width=391
Height=375
link(doEvent1,14372407:doEvent1,[(35,27)(35,55)])
link(doEvent11,888890:doEvent1,[(35,34)(35,125)])
}
Add(FileAttributes,4792155,147,126)
{
Point(FileSize)
link(FileName,4557491:FileName,[(153,74)(27,74)])
}
Add(Math,3125564,224,238)
{
OpType=3
Op2=10
link(onResult,16137630:doStrCat,[])
}
Add(Math,4272,168,238)
{
OpType=3
Op2=102.4
ResultType=0
link(onResult,3125564:doOperation,[])
link(Op1,13536958:Var2,[])
}
Add(If_else,11572141,119,238)
{
Type=2
Op2=Integer(1024)
link(onTrue,4272:doOperation,[])
link(onFalse,12430836:doStrCat,[(161,251)(161,293)])
link(Op1,12945973:Var2,[])
}
Add(GetDataEx,13536958,168,165)
{
link(Data,4792155:FileSize,[])
}
Add(If_else,16195498,98,189)
{
Type=2
Op2=Integer(1048576)
link(onTrue,11025981:doOperation,[])
link(onFalse,11572141:doCompare,[(142,202)(142,223)(107,223)(107,244)])
link(Op1,12945973:Var1,[(104,170)])
}
Add(Math,6497418,224,189)
{
OpType=3
Op2=10
link(onResult,845934:doStrCat,[])
}
Add(Math,11025981,147,189)
{
OpType=3
Op2=104857.6
ResultType=0
link(onResult,6497418:doOperation,[])
link(Op1,1971549:Var2,[])
}
Add(GetDataEx,1971549,147,165)
{
Angle=1
link(Data,13536958:Var1,[])
}
Add(GetDataEx,12945973,119,165)
{
Angle=1
link(Data,1971549:Var1,[])
}
Add(StrCat,845934,287,189)
{
Str2=" Mb"
link(onStrCat,14405886:doWork2,[])
}
Add(StrCat,16137630,287,238)
{
Str2=" Kb"
link(onStrCat,4997310:doWork2,[])
}
Add(StrCat,12430836,287,287)
{
Str2=" b"
link(onStrCat,15992411:doWork2,[])
link(Str1,13536958:Var3,[(293,170)])
}
Add(DoData,15407520,287,329)
{
Data=String()
link(onEventData,15992411:doWork3,[(361,335)])
}
Add(Hub,888890,49,119)
{
OutCount=3
link(onEvent1,4557491:onEvent11,[(247,125)(247,34)])
link(onEvent2,4792155:doRead,[])
link(onEvent3,16195498:doCompare,[(89,139)(89,195)])
}
Add(Hub,14372407,49,49)
{
link(onEvent1,4557491:onEvent1,[(247,55)(247,27)])
link(onEvent2,15407520:doData,[(84,62)(84,335)])
}
Add(HubEx,15992411,357,287)
{
Angle=3
link(onEvent,4997310:doWork3,[])
}
Add(HubEx,4997310,357,238)
{
Angle=3
link(onEvent,14405886:doWork3,[])
}
Add(HubEx,14405886,357,189)
{
Angle=3
link(onEvent,4557491:onStrCat,[(361,41)])
}
END_SDK
Add(GetDataEx,907058,189,53)
{
Angle=3
link(Data,15190173:Var3,[])
}
END_SDK
Add(DoData,1575324,1085,287)
{
link(onEventData,14726552:doEvent1,[])
link(Data,5730599:Var2,[(1091,266)(1021,266)])
}
Add(Hub,14726552,1183,287)
{
link(onEvent1,12742712:_idx2,[(1233,293)(1233,336)(567,336)(567,167)])
link(onEvent2,13478344:doEvent2,[(1226,300)(1226,330)(1149,330)(1149,90)])
}
Add(MultiElementEx,12742712,672,154)
{
@Hint=#10:Commutator|
link(_out1,8121668:doCompare,[])
link(_out2,11861650:doExists,[(719,167)(719,225)(618,225)(618,251)])
link(_out3,11861650:doExists1,[(712,174)(712,215)(612,215)(612,258)])
}
BEGIN_SDK
Add(EditMultiEx,11642795,21,21)
{
WorkCount=#5:_idx1|5:_idx2|5:_idx3|5:Input|
EventCount=#5:_out1|5:_out2|5:_out3|
Width=167
Height=123
link(_idx1,2980006:doWork1,[(37,27)(37,41)])
link(_idx2,2980006:doWork2,[(37,34)(37,48)])
link(_idx3,2980006:doWork3,[(37,41)(37,55)])
link(Input,13723723:doEvent,[(31,48)(31,90)])
}
Add(Icon,4219287,56,84)
{
@Hint=#5:#main|
Icon=[ZIP5E07000078DA636060044209090610C9E0C1CEC020C6C0C0A001C4402106030688380828B0330C7BF01F8CA86208E54651CB1C6AF96B84004AC20AAE9792B8FB8F0351987EA8E2AF51305AFE0CA3F4F31F0E7E02310314FFFC8F0EE603C518EC817E9067F83FFF3D50FE3350F00FB20AECFA01C8378636]
}
Add(ChanelToIndex,2980006,54,35)
{
Count=3
link(onIndex,11536179:doValue,[])
}
Add(Memory,11536179,110,35)
{
Default=Integer(0)
}
Add(IndexToChanel,13723723,110,84)
{
Count=3
Point(Index)
link(onEvent1,11642795:_out1,[(165,90)(165,27)])
link(onEvent2,11642795:_out2,[(165,97)(165,34)])
link(onEvent3,11642795:_out3,[(165,104)(165,41)])
link(Index,11536179:Value,[])
}
END_SDK
Add(Hub,9082723,1099,70)
{
link(onEvent1,12742712:_idx1,[(1143,76)(1143,0)(658,0)(658,160)])
link(onEvent2,13478344:doEvent1,[])
}
Add(Trim,10257169,630,175)
{
Char="\"
Point(Result)
link(onTrim,12742712:Input,[])
}
Add(ChangeMon,16051836,1134,224)
{
link(onData,11627735:doEvent1,[])
}
Add(StatusBar,6492827,686,245)
{
Panels=#3:=50|4:=170|
Point(doWidth)
link(Panel,11861650:Value,[(699,233)(667,233)(667,289)(636,289)])
}
Add(DoData,9383077,1085,224)
{
link(onEventData,16051836:doData,[])
link(Data,3940909:ItemAtPos,[(1091,198)(1028,198)])
}
Add(Hub,11627735,1183,224)
{
link(onEvent1,12742712:_idx3,[(1240,230)(1240,341)(561,341)(561,174)])
link(onEvent2,5963792:doWork3,[(1229,237)])
}
Add(DoData,15690950,1162,147)
{
link(onEventData,3940909:doExpandToggle,[(1206,153)(1206,203)(984,203)(984,181)])
link(Data,5730599:Var3,[(1168,135)(1097,135)(1097,212)])
}
Add(Case,1636147,1113,140)
{
Value=Integer(13)
link(onTrue,15690950:doData,[])
}
Add(GetDataEx,5730599,1015,207)
{
link(Data,3940909:Index,[])
}
Add(HubEx,5963792,1225,203)
{
Angle=2
link(onEvent,3940909:doItemPath,[(976,209)(976,167)])
}
Add(Dir,2558899,588,-35)
{
}
Add(Button,15904123,350,63)
{
Left=2
Top=2
Width=405
Align=2
Caption="загрузка"
link(onClick,15328461:doStrCat,[])
}





Редактировалось 1 раз(а), последний 2020-09-27 17:12:23
карма: 1

0
Ответов: 783
Рейтинг: 168
#9: 2020-09-27 19:25:06 ЛС | профиль | цитата
Dseren, замени StrCa на DoData

Add(TreeViewEx,3940909,700,210)
{
Left=2
Top=22
Width=405
Height=468
Align=5
IconByIndex=0
Tooltips=0
TrackSelect=0
SingleExpand=0
AlwaysUseIcons=0
IconsState=[]
Icons=[]
Point(Parent)
Point(ItemChild)
Point(onExpand)
Point(onItemPath)
Point(Index)
Point(ItemAtPos)
Point(doAddIcon)
Point(doSelect)
Point(doItemBold)
Point(doItemHasChild)
Point(doItemPath)
Point(onMouseMove)
Point(onDblClick)
Point(doClearIcons)
Point(onKeyDown)
Point(doExpandToggle)
link(Parent,14090756:Var2,[])
link(onExpand,9082723:doEvent1,[(774,230)(774,174)])
link(onItemPath,3421795:doStrCat,[(750,237)(750,429)(279,429)(279,279)])
link(onMouseMove,9383077:doData,[(767,244)(767,328)])
link(onDblClick,1575324:doData,[(759,251)(759,391)])
link(onKeyDown,1636147:doCase,[(809,258)(809,244)])
}
Add(MultiElementEx,7731652,483,245)
{
@Hint=#20:DirsEnum & FilesEnum|
link(AddIcon,3940909:doAddIcon,[(522,251)(522,237)])
link(Add,3940909:doAdd,[(524,258)(524,297)(653,297)(653,216)])
link(HasChild,15735860:Input,[])
link(IconID,3940909:Count,[(489,220)(566,220)(566,336)(706,336)])
}
BEGIN_SDK
Add(EditMultiEx,11561374,21,21)
{
WorkCount=#9:StartScan|8:NextScan|
EventCount=#7:AddIcon|3:Add|8:HasChild|
DataCount=#6:IconID|
Width=566
Height=214
link(StartScan,1293174:doEvent1,[(42,27)(42,69)])
link(NextScan,1293174:doEvent2,[(36,34)(36,76)])
}
Add(Hub,1293174,63,63)
{
InCount=2
OutCount=3
link(onEvent1,12779128:doClear,[(112,69)(112,83)])
link(onEvent2,15565532:doValue,[])
link(onEvent3,11931367:doSearch,[(107,83)(107,125)])
}
Add(FileSearch,14584482,175,70)
{
SubDir=1
Include=1
link(onSearch,9553220:doWork2,[])
}
Add(FilePart,9008190,350,133)
{
NameWOExt=1
link(onName,9698349:doString,[])
}
Add(DirTools,14772513,210,182)
{
Point(doExists)
link(onOK,3227344:doEvent,[])
}
Add(FileAttributes,4028852,350,63)
{
Point(doGetFileIcon)
Point(onGetFileIcon)
link(onGetFileIcon,5714619:doCase,[])
}
Add(HubEx,9553220,217,70)
{
link(onEvent,12779128:doAdd,[])
}
Add(ArrayEnum,12315292,252,126)
{
PColor(Array,16711935)
link(onItem,7218241:doEvent1,[])
link(Array,12779128:Array,[])
}
Add(FileSearch,11931367,119,119)
{
SubDir=1
link(onSearch,9553220:doWork3,[(221,125)])
link(onEndSearch,12315292:doEnum,[])
link(Dir,15565532:Value,[])
}
Add(Hub,7218241,294,126)
{
OutCount=3
link(onEvent1,4028852:doGetFileIcon,[(338,132)(338,90)])
link(onEvent2,9008190:doPart,[])
link(onEvent3,14772513:doExists,[(337,146)(337,170)(198,170)(198,209)])
}
Add(StrList,12779128,238,70)
{
}
Add(IndexToChanel,3227344,259,182)
{
Count=3
Point(Data)
link(onEvent2,11561374:HasChild,[(549,195)(549,41)])
link(Data,12315292:Index,[])
}
Add(Memory,15565532,126,70)
{
link(onData,14584482:doSearch,[])
}
Add(Case,5714619,413,70)
{
link(onNextCase,551165:doWork2,[])
link(onTrue,8027927:doData,[(461,83)(461,97)])
}
Add(Icon,7732298,476,28)
{
Icon=[ZIP7E03000078DA63606004420101062029C190C1CCC020C6C0C0A001C44021060506883808383033E0001F3F7EBCF6FCF975BCE0EEDDBB70F51F4E2D4B2304A64D9B86AC7E665A1A7E0404C8EAFFBF3983059D99F9FFCC198869E8EA2F6EFC7F1C8CD64EB0AEF4929ABD4165D2DCFFFDD9FF1F6DC4AA3EA23ACC33DBD335C5618DA3266BCF1AAE1D4FB9AEFCE73EF109680256F57F6BA341A6ED9CFFC2CB42B1348F6BDD75A07A2002099E3983A97EDFF4D8FFD5C1FF0FADFB9619E0176929B0FC84C6E2598ABBCF01D563353F636BF8FB42B7FFCBBB801695879BF29604729D6CE27A3315977AA0BF78526FAB26AF92F4DFC620B45038CB996B770DD7B3E9405D58D5FFFBF7CFA8FBA548C3FFC4B5FFB9DC6F98C65B732E29E4BAD5CFF5661650B6B1B111533DD00AFEF2FF491BFF73457D3609AB03722108A21E08D0D5FFBF92BB698FDFE22F0E93AF02D9FF3E3E86472E50F1810307E0EA81F1F80F1B00AA04796DA6315031904B503DD05860D00315031330727A3E3373265604540F4CC6C88A0F30FEFF4F16660662F6FFFF010A9DBA61]
}
Add(DoData,8027927,476,91)
{
link(onEventData,551165:doWork3,[(529,97)])
link(Data,7732298:Icon,[])
}
Add(FormatStr,9698349,399,140)
{
Mask="<%1,%1>%2"
link(onFString,11561374:Add,[(539,146)(539,34)])
link(Str1,11561374:IconID,[(405,36)(27,36)])
}
Add(HubEx,551165,525,70)
{
Angle=3
link(onEvent,11561374:AddIcon,[(529,27)])
}
END_SDK
Add(GetDataEx,14090756,721,158)
{
link(Data,1973295:Value,[])
}
Add(Hub,8924140,637,245)
{
InCount=2
link(onEvent1,3940909:doItemBold,[])
link(onEvent2,3940909:doItemHasChild,[])
}
Add(If_else,8121668,434,252)
{
Type=1
Op2=Integer(0)
link(onTrue,7731652:NextScan,[])
link(Op1,3940909:ItemChild,[(440,224)(561,224)(561,343)(720,343)])
}
Add(MathParse,16626468,595,252)
{
MathStr="%1 + %2 + 1"
link(onResult,8924140:doEvent2,[])
link(X1,14090756:Var1,[(601,163)])
}
Add(MultiElementEx,15735860,553,245)
{
@Hint=#10:Commutator|
link(_out1,8924140:doEvent1,[])
link(_out2,16626468:doCalc,[])
}
BEGIN_SDK
Add(EditMultiEx,13791183,21,21)
{
WorkCount=#5:_idx1|5:_idx2|5:Input|
EventCount=#5:_out1|5:_out2|
Width=167
Height=123
link(_idx1,502949:doWork1,[(41,27)(41,41)])
link(_idx2,502949:doWork2,[(37,34)(37,48)])
link(Input,3862713:doEvent,[(33,41)(33,90)])
}
Add(Icon,11878794,56,84)
{
@Hint=#5:#main|
Icon=[ZIP5E07000078DA636060044209090610C9E0C1CEC020C6C0C0A001C4402106030688380828B0330C7BF01F8CA86208E54651CB1C6AF96B84004AC20AAE9792B8FB8F0351987EA8E2AF51305AFE0CA3F4F31F0E7E02310314FFFC8F0EE603C518EC817E9067F83FFF3D50FE3350F00FB20AECFA01C8378636]
}
Add(ChanelToIndex,502949,54,35)
{
link(onIndex,4010096:doValue,[])
}
Add(Memory,4010096,110,35)
{
Default=Integer(0)
}
Add(IndexToChanel,3862713,110,84)
{
Point(Index)
link(onEvent1,13791183:_out1,[(161,90)(161,27)])
link(onEvent2,13791183:_out2,[(165,97)(165,34)])
link(Index,4010096:Value,[])
}
END_SDK
Add(StrCat,3421795,294,273)
{
link(onStrCat,10257169:doTrim,[])
link(Str1,7472879:Var3,[(300,110)])
}
Add(Hub,7626839,343,161)
{
OutCount=5
link(onEvent1,15735860:_idx1,[(537,167)(537,251)])
link(onEvent2,3940909:doClear,[(682,174)(682,223)])
link(onEvent3,3940909:doClearIcons,[(676,181)(676,272)])
link(onEvent4,1973295:doClear,[(410,188)(410,125)])
link(onEvent5,7731652:StartScan,[(410,195)(410,251)])
}
Add(Memory,1973295,721,112)
{
Default=Integer(-1)
}
Add(Hub,13478344,868,175)
{
InCount=2
OutCount=4
link(onEvent1,15735860:_idx2,[(923,181)(923,87)(544,87)(544,258)])
link(onEvent2,3940909:doSelect,[(893,188)(893,160)(690,160)(690,244)])
link(onEvent3,1973295:doValue,[(935,195)(935,105)(709,105)(709,118)])
link(onEvent4,5963792:doWork1,[(935,202)])
}
Add(MultiElementEx,11861650,336,343)
{
@Hint=#19:RunFile & StatusBar|
link(onEvent,6492827:doText,[])
link(Data,10257169:Result,[])
}
BEGIN_SDK
Add(EditMultiEx,5574627,21,21)
{
WorkCount=#8:doExists|9:doExists1|
EventCount=#7:onEvent|
VarCount=#5:Value|
DataCount=#4:Data|
Width=524
Height=249
link(doExists,7031950:doExists,[(39,27)(39,111)])
link(doExists1,2911413:doExists,[(33,34)(33,160)])
link(Value,6061146:Value,[(27,249)(482,249)])
}
Add(Memory,6061146,476,147)
{
}
Add(Memory,11245289,245,140)
{
Default=String(Файл : )
link(onData,3019581:doEvent1,[])
}
Add(DirTools,7031950,56,84)
{
Point(doExists)
link(onOK,3639075:doEvent,[])
link(Source,11307465:Var2,[])
}
Add(IndexToChanel,3639075,105,84)
{
Count=3
Point(Data)
link(onEvent3,12696810:doShellExec,[])
}
Add(WinExec,12696810,154,91)
{
link(FileName,15190173:Var2,[])
}
Add(DirTools,2911413,84,133)
{
Point(doExists)
link(onOK,9961549:doEvent,[])
link(Source,12546755:Var2,[])
}
Add(IndexToChanel,9961549,133,133)
{
Count=3
Data=String(Папка: )
Point(Data)
link(onEvent2,7179707:doEvent1,[])
link(onEvent3,7179707:doEvent11,[])
}
Add(FilePart,15488265,357,196)
{
NameWOExt=1
link(onName,8876051:doWork2,[])
link(FileName,907058:Var3,[(363,58)])
}
Add(GetDataEx,12546755,84,53)
{
Angle=3
link(Data,11307465:Var3,[])
}
Add(GetDataEx,15190173,154,53)
{
Angle=3
link(Data,12546755:Var3,[])
}
Add(HubEx,8876051,399,203)
{
link(onEvent,5574627:onEvent,[(525,209)(525,27)])
}
Add(Hub,3019581,294,140)
{
OutCount=5
link(onEvent1,897687:doWork1,[(408,146)(408,153)])
link(onEvent2,8876051:doWork1,[(403,153)])
link(onEvent3,897687:doWork2,[])
link(onEvent4,15488265:doPart,[(339,167)(339,202)])
link(onEvent5,897687:doWork3,[(410,174)(410,167)])
}
Add(GetDataEx,11307465,56,53)
{
link(Data,5574627:Data,[(62,37)(27,37)])
}
Add(ChanelToIndex,897687,427,147)
{
Count=3
link(onIndex,6061146:doValue,[])
}
Add(MultiElementEx,7179707,189,140)
{
@Hint=#9:Mb, Kb, b|
link(onEvent1,11245289:doValue,[])
link(onEvent11,11245289:doClear,[])
link(onStrCat,8876051:doWork3,[(234,160)(234,237)(403,237)])
link(FileName,907058:Var2,[])
}
BEGIN_SDK
Add(EditMultiEx,4557491,21,21)
{
WorkCount=#8:doEvent1|9:doEvent11|
EventCount=#8:onEvent1|9:onEvent11|8:onStrCat|
DataCount=#8:FileName|
Width=391
Height=375
link(doEvent1,14372407:doEvent1,[(35,27)(35,55)])
link(doEvent11,888890:doEvent1,[(35,34)(35,125)])
}
Add(FileAttributes,4792155,147,126)
{
Point(FileSize)
link(FileName,4557491:FileName,[(153,74)(27,74)])
}
Add(Math,3125564,224,238)
{
OpType=3
Op2=10
link(onResult,16137630:doStrCat,[])
}
Add(Math,4272,168,238)
{
OpType=3
Op2=102.4
ResultType=0
link(onResult,3125564:doOperation,[])
link(Op1,13536958:Var2,[])
}
Add(If_else,11572141,119,238)
{
Type=2
Op2=Integer(1024)
link(onTrue,4272:doOperation,[])
link(onFalse,12430836:doStrCat,[(161,251)(161,293)])
link(Op1,12945973:Var2,[])
}
Add(GetDataEx,13536958,168,165)
{
link(Data,4792155:FileSize,[])
}
Add(If_else,16195498,98,189)
{
Type=2
Op2=Integer(1048576)
link(onTrue,11025981:doOperation,[])
link(onFalse,11572141:doCompare,[(142,202)(142,223)(107,223)(107,244)])
link(Op1,12945973:Var1,[(104,170)])
}
Add(Math,6497418,224,189)
{
OpType=3
Op2=10
link(onResult,845934:doStrCat,[])
}
Add(Math,11025981,147,189)
{
OpType=3
Op2=104857.6
ResultType=0
link(onResult,6497418:doOperation,[])
link(Op1,1971549:Var2,[])
}
Add(GetDataEx,1971549,147,165)
{
Angle=1
link(Data,13536958:Var1,[])
}
Add(GetDataEx,12945973,119,165)
{
Angle=1
link(Data,1971549:Var1,[])
}
Add(StrCat,845934,287,189)
{
Str2=" Mb"
link(onStrCat,14405886:doWork2,[])
}
Add(StrCat,16137630,287,238)
{
Str2=" Kb"
link(onStrCat,4997310:doWork2,[])
}
Add(StrCat,12430836,287,287)
{
Str2=" b"
link(onStrCat,15992411:doWork2,[])
link(Str1,13536958:Var3,[(293,170)])
}
Add(DoData,15407520,287,329)
{
Data=String()
link(onEventData,15992411:doWork3,[(361,335)])
}
Add(Hub,888890,49,119)
{
OutCount=3
link(onEvent1,4557491:onEvent11,[(247,125)(247,34)])
link(onEvent2,4792155:doRead,[])
link(onEvent3,16195498:doCompare,[(89,139)(89,195)])
}
Add(Hub,14372407,49,49)
{
link(onEvent1,4557491:onEvent1,[(247,55)(247,27)])
link(onEvent2,15407520:doData,[(84,62)(84,335)])
}
Add(HubEx,15992411,357,287)
{
Angle=3
link(onEvent,4997310:doWork3,[])
}
Add(HubEx,4997310,357,238)
{
Angle=3
link(onEvent,14405886:doWork3,[])
}
Add(HubEx,14405886,357,189)
{
Angle=3
link(onEvent,4557491:onStrCat,[(361,41)])
}
END_SDK
Add(GetDataEx,907058,189,53)
{
Angle=3
link(Data,15190173:Var3,[])
}
END_SDK
Add(DoData,1575324,791,385)
{
link(onEventData,14726552:doEvent1,[])
link(Data,5730599:Var2,[(797,364)(727,364)])
}
Add(Hub,14726552,889,385)
{
link(onEvent1,12742712:_idx2,[(939,391)(939,434)(273,434)(273,265)])
link(onEvent2,13478344:doEvent2,[(932,398)(932,428)(855,428)(855,188)])
}
Add(MultiElementEx,12742712,378,252)
{
@Hint=#10:Commutator|
link(_out1,8121668:doCompare,[])
link(_out2,11861650:doExists,[(425,265)(425,323)(324,323)(324,349)])
link(_out3,11861650:doExists1,[(418,272)(418,313)(318,313)(318,356)])
}
BEGIN_SDK
Add(EditMultiEx,11642795,21,21)
{
WorkCount=#5:_idx1|5:_idx2|5:_idx3|5:Input|
EventCount=#5:_out1|5:_out2|5:_out3|
Width=167
Height=123
link(_idx1,2980006:doWork1,[(37,27)(37,41)])
link(_idx2,2980006:doWork2,[(37,34)(37,48)])
link(_idx3,2980006:doWork3,[(37,41)(37,55)])
link(Input,13723723:doEvent,[(31,48)(31,90)])
}
Add(Icon,4219287,56,84)
{
@Hint=#5:#main|
Icon=[ZIP5E07000078DA636060044209090610C9E0C1CEC020C6C0C0A001C4402106030688380828B0330C7BF01F8CA86208E54651CB1C6AF96B84004AC20AAE9792B8FB8F0351987EA8E2AF51305AFE0CA3F4F31F0E7E02310314FFFC8F0EE603C518EC817E9067F83FFF3D50FE3350F00FB20AECFA01C8378636]
}
Add(ChanelToIndex,2980006,54,35)
{
Count=3
link(onIndex,11536179:doValue,[])
}
Add(Memory,11536179,110,35)
{
Default=Integer(0)
}
Add(IndexToChanel,13723723,110,84)
{
Count=3
Point(Index)
link(onEvent1,11642795:_out1,[(165,90)(165,27)])
link(onEvent2,11642795:_out2,[(165,97)(165,34)])
link(onEvent3,11642795:_out3,[(165,104)(165,41)])
link(Index,11536179:Value,[])
}
END_SDK
Add(Hub,9082723,805,168)
{
link(onEvent1,12742712:_idx1,[(849,174)(849,98)(364,98)(364,258)])
link(onEvent2,13478344:doEvent1,[])
}
Add(Trim,10257169,336,273)
{
Char="\"
Point(Result)
link(onTrim,12742712:Input,[])
}
Add(ChangeMon,16051836,840,322)
{
link(onData,11627735:doEvent1,[])
}
Add(StatusBar,6492827,392,343)
{
Panels=#3:=50|4:=170|
Point(doWidth)
link(Panel,11861650:Value,[(405,331)(373,331)(373,387)(342,387)])
}
Add(DoData,9383077,791,322)
{
link(onEventData,16051836:doData,[])
link(Data,3940909:ItemAtPos,[(797,296)(734,296)])
}
Add(Hub,11627735,889,322)
{
link(onEvent1,12742712:_idx3,[(946,328)(946,439)(267,439)(267,272)])
link(onEvent2,5963792:doWork3,[(935,335)])
}
Add(DoData,15690950,868,245)
{
link(onEventData,3940909:doExpandToggle,[(912,251)(912,301)(690,301)(690,279)])
link(Data,5730599:Var3,[(874,233)(803,233)(803,310)])
}
Add(Case,1636147,819,238)
{
Value=Integer(13)
link(onTrue,15690950:doData,[])
}
Add(GetDataEx,5730599,721,305)
{
link(Data,3940909:Index,[])
}
Add(HubEx,5963792,931,301)
{
Angle=2
link(onEvent,3940909:doItemPath,[(683,307)(683,265)])
}
Add(Dir,2558899,238,63)
{
}
Add(Button,15904123,147,161)
{
Left=2
Top=2
Width=405
Align=2
Caption="загрузка"
link(onClick,12458501:doData,[])
}
Add(DoData,12458501,238,161)
{
link(onEventData,7626839:doEvent1,[])
link(Data,7472879:Var2,[])
}
Add(GetDataEx,7472879,238,105)
{
link(Data,2558899:CurrentDir,[])
}

карма: 15

0
9
Сообщение
...
Прикрепленные файлы
(файлы не залиты)