10755, это замена в пределах одной надписи. Надо чтоб остальные взаимодействовали. Если по простому, результат - белый текст на красном фоне, черный текст на белом фоне. Тоесть при нажатии на надпись, они должна становиться черной с белым фоном, в то время как все остальные долны быть белыми с красным фоном и так при нажатии на любую из надписей. Вот блин задачка))
------------ Дoбавленo в 19.48:
все! додумался! Покажу потом
------------ Дoбавленo в 21.06:
все работает, только почему то шрифт меняется, хотя в настройках компонентов одни и те же настройки стоят Add(MainForm,2953706,35,63) { } Add(Image,12043994,532,175) { Left=20 Top=10 Width=395 Height=35 Color=16777215 Picture=[ZIP429E000078DAEDDDCF4B93711CC0F1AF78DCD4925866414217BB05423A44D21112447809A44387F2921E52E8C7A18328F80778F1DACD8367C1BBB0B528C32D18D11A64394D71130F539EB5EFB3A78F1B8207AD27787C9ECDE7FDE5F5307836183C7CF7E6FB85873D910791B7AA326ECBD129C774835237E4B541B555CE07E5FDD640F5381A5665685D5E8EEE4DBCCEDCB9F7B96720118ED812EA787F1ACB7FC3E645037CEEE9E8D7F9856DC330AB3F9CC306E5774B2363E9E6F658535BACF9CA3B47F8B0414E5D3AE07C93CE88EEFED574E6E0B04152A3C999B560E52C0DA241803B0D127D8349E98F9A9DCB7676AD044234880601AE3648487FD4D0702AD4116F621D448300D71B24FD51E148E2E2B5B8E35FA375990601F83BE9CF5935687FDFA441003C6BD04EEE370D02E0598336368B3408000DA241802F1BB4B945830078D7A05CBE44830078D6A04241D320009E35E8BFEE0FD25AD32080063989FBA401D0201A04D02047472DEFDA984F00EB201A04D0A05A6DD059AFA1984F409D35C8344DD641000D622F56970D6A6967068306F9A041F6176BCC278006B1170368100D024083EAB74197AEC7999AA0413488751050CF0DF25B86984C40CD354864378AE2E7BAB1F6C3F8B5552C14B4691220006E3508006810001A04002736687E61FB56F853201475F659CF0070A2E3CF7A96FE28C330DF4C7D0F5E8ED120006E36A8BB7F55FAA32CCBCAEF969E8D7FBB7035D6D8127D3CF261E2D5C7E72FFE6DFCA5AD8F01C071D500F50D26D39903E98F3AFA6F9DF2E252EED1932FBD7793B243B3E3FEC3D4CDAE959E8184CDCF0380181A4ECDCE656505548D8FFA03C5D35AA4] } Add(BitmapArray,12961007,483,112) { Bitmaps=['Bitmap'=[ZIP429E000078DAEDDDCF4B93711CC0F1AF78DCD4925866414217BB05423A44D21112447809A44387F2921E52E8C7A18328F80778F1DACD8367C1BBB0B528C32D18D11A64394D71130F539EB5EFB3A78F1B8207AD27787C9ECDE7FDE5F5307836183C7CF7E6FB85873D910791B7AA326ECBD129C774835237E4B541B555CE07E5FDD640F5381A5665685D5E8EEE4DBCCEDCB9F7B96720118ED812EA787F1ACB7FC3E645037CEEE9E8D7F9856DC330AB3F9CC306E5774B2363E9E6F658535BACF9CA3B47F8B0414E5D3AE07C93CE88EEFED574E6E0B04152A3C999B560E52C0DA241803B0D127D8349E98F9A9DCB7676AD044234880601AE3648487FD4D0702AD4116F621D448300D71B24FD51E148E2E2B5B8E35FA375990601F83BE9CF5935687FDFA441003C6BD04EEE370D02E0598336368B3408000DA241802F1BB4B945830078D7A05CBE44830078D6A04241D320009E35E8BFEE0FD25AD32080063989FBA401D0201A04D02047472DEFDA984F00EB201A04D0A05A6DD059AFA1984F409D35C8344DD641000D622F56970D6A6967068306F9A041F6176BCC278006B1170368100D024083EAB74197AEC7999AA0413488751050CF0DF25B86984C40CD354864378AE2E7BAB1F6C3F8B5552C14B4691220006E3508006810001A04002736687E61FB56F853201475F659CF0070A2E3CF7A96FE28C330DF4C7D0F5E8ED120006E36A8BB7F55FAA32CCBCAEF969E8D7FBB7035D6D8127D3CF261E2D5C7E72FFE6DFCA5AD8F01C071D500F50D26D39903E98F3AFA6F9DF2E252EED1932FBD7793B243B3E3FEC3D4CDAE959E8184CDCF0380181A4ECDCE656505548D8FFA03C5D35AA4],'Bitmap'=[ZIP429E000078DAEDDDCF4B93711CC0F1EFF2B8F9ABC3D3D20E8617BB05423A42D21112447809A48307F3521D52E8C7A14314F80778F1169DF2E039E81E6C39CA700B46B406FE689AD2261DA63C6BDF674F1F36042FE1A3AEE7993EEF2FAF07618E1D7CF6BCF97CC7F089DE8ABE56D575458E1E395E0694EA969F0115AE3E1E92DF9F0DD68EBD655797D695F7B1DF534FB3D76E7CE91F4A46A28E185D897F71F80AA78CEDBFE5CF138DE3B87BFFDBDCFC96695AB5B7D019390ADBE5890799968E787338DE72FE038ECC870DE2A4E3B0A433A26F702993DD95B75093D4E8F9F44AA8FA280DA2413408EE34480C0CA7A43F6F6666733DBD8B418306D1201A04571B24A43FAF4646D346D7423373100DA24170BD41D29F60249A6CBFB0C0DFA52EB4AED020C039E94F8006D5D1CE8E458380433548D1A03AFA95FF4383001AE499F58D120D0268100DA241A041BEB4B14983001AE49D7CA14C83001AE4996251D32080069D8CEF0769AD691068100DE27BD2340834E848C2DD091A448340833CD3DAE19739A891776D5C45602FC61C448340831A987131E1E706FDEF198AAB0827A3416D9D9E7D48E4E696CDC9456B59167310706AE7206F3F24622F06B017A3417558CE87354E3A68100D620E020D020D0268100DA241A0413488060134880C1120D020DFCAAD97C4DA0F7365D5FCB9592A16B5651120800601A04100408300344C83E6E6B72E473E078D18F77A06E082FDF77A96FE28D3B49EBD580E9DE37EF3005C6D50DFE092F447D9B65DD82EDF9BFCDED6196F6A8D8D4D7C9C7AF2E9E1A3834D3E76F43400D8AF16A081E15426BB2BFD517BFF65A6F2F65DFECEF8D7ABD753B24373E2E6EDF4A5DEC5FEA1A4C3E7038018194DCFCCE66402AAC547FD050EEC5C2E],'Bitmap'=[ZIP429E000078DAEDDDBF4B1B611C80F1373A26FE2AE54C55A8E2A25B41A806916A282294E252900E0EAD4B7550C1EAD0A158F00F70712B9DEAE05C701792465A8B492194A6817650A934910E2AD1DCE5FC9220B8945E73F62EC93D2F9F23908440EE8587F70D472EFC30FC4615C75D397AE478E553AA5B1E7D2A587C3E20AFDFF0978ECB611687AE17B622BFE797D2F7C63E0F8CC443614BB4CEED3FB1F809A801A6F706936EC7D3E9AFEB1B87B99C513A997572648FF25333A9C6B6684330DA78EB3DF04F3CD82026DD0EE98CE81FDE4DA54FE564D64B8D5EAEFC08149FA541A04134C8990689A1D184F4E7EDEADA5E4FDF8E5FA341A04134C8D10609E9CFEBF189A4D6196B601D041A44831C6F90F4C71F0AC75B3A629C17944DD70B3408E591FEF868106C3A39316810CA6E90A241B0E957E69C068106C135FB076734083408348806D12078D2C14F1A041A04F764B2791A041A04D71C1FEB34083408D5717D90AEEB340834085C274D8368906DC1EE6DA69006D1201AE49AA636A6B0961B54C9BB36269D068175100DA2415542EB62CBE6B906FDEF3514935E7D0D6A6E77ED4722B66C95D020C3305807C113EB20EF14A772BE297B31D020D0A06B18D6176B4C3A0D020D621D4483001A041A547B6EDE8ED1201A4483001A44836810C81001A241001922403408000D02001A04A0A61AB4BE717827F4C9AF45B8D73300075CBDD7B3F447E572C68BE5EF8156EE370FC0D106F50FEF4A7F94699AD9A3FCB3B96FCDEDD1FAA6C8E4D487F9C58FB30B7F37F7DCD2DB00E0AA5280864613A9F4A9F4475DFEDF4AE1DD66E6F1932F83F713B243B3E2C1A3646FDFCEC048DCE2FB01408C4F2457D7F66405548A8FBA00DFC05D89],'Bitmap'=[ZIP429E000078DAEDDDCF4B93711CC0F1EFF2B8F9A388A7A5418A17BB05963A62A6232408F11248870EE5C53CA85076E81005FD015EBC89273D780EBC0B5B4A19DB8221AE411D4C1237F1A032DDF3ECE9D386E0257C5CEB797AF6BCBFBC1E078F0FCF61736F3ECF183E91C1C89C2AAD2ED93A647BEB53AA5D1E7D2A58DA1F90DF5FF297B793659696AE1797A37B932F3377EF7FE9E94F84229668ADAB7F62F10C804B99DE5B953D51D2935BE1B8B8DDFBFBA7EC79FA6C6361713B9F37CAA7BD205B6EB73032966E688ED507630D573F003893071B54ADA74E3A23BAFBE2E9CCA19CB64E6AF4FADDF740692F0D0268903D0D12E181A4F4677E7A66B3A373CDAFD1208006D9DA2021FD991D1A4E69AD2BF5CC41000DB2BD41D21F7F2892B8786D853F29E05C74BD4883FE9EF4C74783800A1C1C1834A82A0D523408A8C04EF69806D120C0313FB68E68100D0268100D023C69EB270DA2418073B2B9020DA2418063F6F7751A448300777C3F48D7751A448300BE274D83AA2AD8BECA3B0134880639A6B19977026AAD41FFF3551B0D02988368900B696D5CB2C1130DFAD73394BB1BD4D4E2D887445CB2C1A9061986C11CE4B939C83BC5A1ADCC413408A041AE5FD687351A04D020E62000348806D5B6CBD7793968100D024083681040866A3840340820434E0688060170180D0240830078B9410B8BDB37439FFD5A947B3D03B0C1E97B3D4B7F543E6FBC7AF32D7085FBCD03B0B541DD7D71E98F324D33B75B189DF8DAD412AB6B8C3E1EF93839F569FCF9D9265E583A0C004E2B07283C904C670EA53FEAE43F8F14DF2F651F3D59BF732F295768563C7898BAD1B9D6D39FB0783C0088A1E1D4F4CCA64C40E5F8A85F36E65D5D]] } Add(ArrayRW,12868444,483,175) { link(onRead,12043994:doLoad,[]) link(Array,12961007:Array,[]) } Add(ChanelToIndex,12554041,378,175) { Count=4 link(onIndex,3027339:doEvent1,[]) } Add(Label,10044028,295,175) { Left=75 Top=25 Width=42 Height=17 Color=16777215 Font=[Arial,9,0,0,204] Caption="один" Underline=0 Point(doColor) Point(doFont) link(onClick,12554041:doWork1,[]) } Add(Label,4662462,295,231) { Left=160 Top=25 Width=33 Height=17 Color=924102 Font=[Arial,9,0,16777215,204] Caption="два" Underline=0 Point(doColor) Point(doFont) link(onClick,12554041:doWork2,[(346,237)(346,188)]) } Add(Label,15813070,295,280) { Left=245 Top=25 Width=37 Height=17 Color=924102 Font=[Arial,9,0,16777215,204] Caption="три" Underline=0 Point(doColor) Point(doFont) link(onClick,12554041:doWork3,[(354,286)(354,195)]) } Add(Label,8696816,295,329) { Left=325 Top=25 Width=37 Height=17 Color=924102 Font=[Arial,9,0,16777215,204] Caption="четыре" Underline=0 Point(doColor) Point(doFont) link(onClick,12554041:doWork4,[(368,335)(368,202)]) } Add(Hub,3027339,420,175) { link(onEvent1,12868444:doRead,[]) link(onEvent2,1236497:In,[(441,188)(441,230)]) } Add(LineBreak,9260794,-14,168) { link(Out,8845381:doEvent1,[]) Primary=[1236497,462,56] } Add(PolymorphMulti,414295,56,182) { Childrens=#1:0|1:1|1:2|1:3| Selected="3" WorkScheme=1 link(color1,10044028:doColor,[]) link(color2,4662462:doColor,[(222,195)(222,244)]) link(color3,15813070:doColor,[(214,202)(214,293)]) link(color4,8696816:doColor,[(204,209)(204,342)]) link(onEvent3,996616:In,[]) link(onFont2,11240049:In,[(117,223)(117,237)]) link(font3,16118292:In,[(114,230)(114,258)]) link(onFont4,2638844:In,[(106,237)(106,286)]) } BEGIN_SDK Add(EditPolyMulti,4420827,21,21) { WorkCount=#5:##add|8:##delete| EventCount=#6:color1|6:color2|6:color3|6:color4|8:onEvent3|7:onFont2|5:font3|7:onFont4| Point(##add) Point(##delete) } END_SDK BEGIN_SDK Add(EditPolyMulti,7415431,21,21) { WorkCount=#5:##add|8:##delete| EventCount=#6:color1|6:color2|6:color3|6:color4|8:onEvent3|7:onFont2|5:font3|7:onFont4| Point(##add) Point(##delete) link(##add,15819498:doEvent1,[]) } Add(RGB,3946298,217,21) { R=255 G=255 B=255 link(onRGB,7415431:color1,[]) } Add(RGB,5006926,126,56) { R=198 G=25 B=14 link(onRGB,5076983:doEvent1,[]) } Add(Hub,15819498,63,21) { OutCount=4 link(onEvent1,3946298:doRGB,[]) link(onEvent2,5006926:doRGB,[(101,34)(101,62)]) link(onEvent3,8630091:doFont,[(95,41)(95,118)]) link(onEvent4,8788565:doFont,[(87,48)(87,167)]) } Add(Hub,5076983,182,56) { OutCount=3 link(onEvent1,7415431:color2,[(258,62)(258,34)]) link(onEvent2,7415431:color3,[(264,69)(264,41)]) link(onEvent3,7415431:color4,[(274,76)(274,48)]) } Add(Font,8630091,126,112) { Font=[Arial,9,0,0,204] link(onFont,7415431:onEvent3,[(282,118)(282,55)]) } Add(Font,8788565,126,161) { Font=[Arial,9,0,16777215,204] link(onFont,16675197:doEvent1,[]) } Add(Hub,16675197,203,161) { OutCount=3 link(onEvent1,7415431:onFont2,[(291,167)(291,62)]) link(onEvent2,7415431:font3,[(301,174)(301,69)]) link(onEvent3,7415431:onFont4,[(308,181)(308,76)]) } END_SDK BEGIN_SDK Add(EditPolyMulti,1761101,35,21) { WorkCount=#5:##add|8:##delete| EventCount=#6:color1|6:color2|6:color3|6:color4|8:onEvent3|7:onFont2|5:font3|7:onFont4| Point(##add) Point(##delete) link(##add,15819498:doEvent1,[(45,27)(45,34)]) } Add(RGB,3946298,126,28) { R=255 G=255 B=255 link(onRGB,10958103:In,[]) } Add(RGB,5006926,126,77) { R=198 G=25 B=14 link(onRGB,5076983:doEvent1,[]) } Add(Hub,15819498,70,28) { OutCount=4 link(onEvent1,3946298:doRGB,[]) link(onEvent2,5006926:doRGB,[(108,41)(108,83)]) link(onEvent3,8630091:doFont,[(102,48)(102,139)]) link(onEvent4,8788565:doFont,[(94,55)(94,181)]) } Add(Hub,5076983,182,77) { OutCount=3 link(onEvent1,1761101:color1,[(215,83)(215,27)]) link(onEvent2,1761101:color3,[(220,90)(220,41)]) link(onEvent3,1761101:color4,[(228,97)(228,48)]) } Add(Font,8630091,126,133) { Font=[Arial,9,0,0,204] link(onFont,8508564:In,[]) } Add(Font,8788565,126,175) { Font=[Arial,9,0,16777215,204] link(onFont,16675197:doEvent1,[]) } Add(Hub,16675197,203,175) { OutCount=3 link(onEvent1,1761101:onEvent3,[(237,181)(237,55)]) link(onEvent2,1761101:font3,[(244,188)(244,69)]) link(onEvent3,1761101:onFont4,[(256,195)(256,76)]) } Add(LineBreak,1908464,280,28) { Caption="c2" link(Out,1761101:color2,[]) Primary=[10958103,-105,0] } Add(LineBreak,14546526,280,56) { Caption="f2" link(Out,1761101:onFont2,[]) Primary=[8508564,-112,77] } END_SDK BEGIN_SDK Add(EditPolyMulti,2534989,42,21) { WorkCount=#5:##add|8:##delete| EventCount=#6:color1|6:color2|6:color3|6:color4|8:onEvent3|7:onFont2|5:font3|7:onFont4| Width=370 Height=242 Point(##add) Point(##delete) link(##add,15819498:doEvent1,[(66,27)(66,55)]) } Add(LineBreak,9462457,343,35) { Caption="c3" link(Out,2534989:color3,[]) Primary=[1563211,-147,14] } Add(LineBreak,13264003,343,63) { Caption="f3" link(Out,2534989:font3,[]) Primary=[11998740,-147,91] } Add(RGB,3946298,147,49) { R=255 G=255 B=255 link(onRGB,1563211:In,[]) } Add(RGB,5006926,147,98) { R=198 G=25 B=14 link(onRGB,5076983:doEvent1,[]) } Add(Hub,15819498,91,49) { OutCount=4 link(onEvent1,3946298:doRGB,[]) link(onEvent2,5006926:doRGB,[(129,62)(129,104)]) link(onEvent3,8630091:doFont,[(123,69)(123,160)]) link(onEvent4,8788565:doFont,[(115,76)(115,202)]) } Add(Hub,5076983,203,98) { OutCount=3 link(onEvent1,2534989:color1,[(230,104)(230,27)]) link(onEvent2,2534989:color2,[(238,111)(238,34)]) link(onEvent3,2534989:color4,[(248,118)(248,48)]) } Add(Font,8630091,147,154) { Font=[Arial,9,0,0,204] link(onFont,11998740:In,[]) } Add(Font,8788565,147,196) { Font=[Arial,9,0,16777215,204] link(onFont,16675197:doEvent1,[]) } Add(Hub,16675197,224,196) { OutCount=3 link(onEvent1,2534989:onEvent3,[(260,202)(260,55)]) link(onEvent2,2534989:onFont2,[(271,209)(271,62)]) link(onEvent3,2534989:onFont4,[(283,216)(283,76)]) } END_SDK BEGIN_SDK Add(EditPolyMulti,8931586,21,21) { WorkCount=#5:##add|8:##delete| EventCount=#6:color1|6:color2|6:color3|6:color4|8:onEvent3|7:onFont2|5:font3|7:onFont4| Width=405 Height=256 Point(##add) Point(##delete) link(##add,15819498:doEvent1,[(45,27)(45,62)]) } Add(LineBreak,5501323,378,42) { Caption="c4" link(Out,8931586:color4,[]) Primary=[1563211,-203,14] } Add(LineBreak,12818199,378,70) { Caption="f4" link(Out,8931586:onFont4,[]) Primary=[11998740,-203,91] } Add(RGB,3946298,126,56) { R=255 G=255 B=255 link(onRGB,1563211:In,[]) } Add(RGB,5006926,126,105) { R=198 G=25 B=14 link(onRGB,5076983:doEvent1,[]) } Add(Hub,15819498,70,56) { OutCount=4 link(onEvent1,3946298:doRGB,[]) link(onEvent2,5006926:doRGB,[(108,69)(108,111)]) link(onEvent3,8630091:doFont,[(102,76)(102,167)]) link(onEvent4,8788565:doFont,[(94,83)(94,209)]) } Add(Hub,5076983,182,105) { OutCount=3 link(onEvent1,8931586:color1,[(219,111)(219,27)]) link(onEvent2,8931586:color2,[(229,118)(229,34)]) link(onEvent3,8931586:color3,[(236,125)(236,41)]) } Add(Font,8630091,126,161) { Font=[Arial,9,0,0,204] link(onFont,11998740:In,[]) } Add(Font,8788565,126,203) { Font=[Arial,9,0,-16777211,204] link(onFont,16675197:doEvent1,[]) } Add(Hub,16675197,203,203) { OutCount=3 link(onEvent1,8931586:onEvent3,[(250,209)(250,55)]) link(onEvent2,8931586:onFont2,[(262,216)(262,62)]) link(onEvent3,8931586:font3,[(275,223)(275,69)]) } END_SDK Add(LineBreak,9754823,238,189) { Caption="1" link(Out,10044028:doFont,[]) Primary=[996616,-119,21] } Add(LineBreak,9178871,245,245) { Caption="2" link(Out,4662462:doFont,[]) Primary=[11240049,-98,-14] } Add(LineBreak,8245950,238,294) { Caption="3" link(Out,15813070:doFont,[]) Primary=[16118292,-98,-42] } Add(LineBreak,11042245,238,343) { Caption="4" link(Out,8696816:doFont,[]) Primary=[2638844,-98,-63] } Add(Hub,8845381,21,168) { link(onEvent1,414295:##add,[(45,174)(45,188)]) link(onEvent2,414295:##delete,[(39,181)(39,195)]) }
|