Вверх ↑
Разработчик
Ответов: 26160
Рейтинг: 2127
#1: 2009-03-30 19:25:32 ЛС | профиль | цитата
EcsTasY писал(а):
чтоб икнока добавлялась в строку, при клике


-- тут фигня была, а не схема --

Нет, лучше вот так



Add(MainForm,1091736,287,224)
{
Width=837
Height=504
link(onCreate,11384294:doFor,[])
}
Add(ListBox,12607498,371,322)
{
@Hint=#4:list|
Width=821
Height=468
Align=5
Name="ListBox"
IndexManager="idx"
BoxDrawManager="draw"
IconsManager="strico"
Point(Value)
Point(Index)
Point(onMouseDown)
link(onClick,67906:doEvent1,[])
link(Str,11384294:Position,[])
}
Add(IconsManager,10515394,371,175)
{
Name="strico"
ImgSize=24
Icons=['Icon'=[ZIP5E07000078DACD934112C2200C453FD3053770BA74E9B2C7F0581C8D837810174ED3503462118AC08C4D13164CF2FA7F3A05143FE30877E2AA8113800B175F6182BF7771D638465014BD3815284A4405675792BDD94CCA780B2784B4737C4FE86E739670A4214328D94FAC4D08F2A23A4E38D2C2898D977078D2E7DB575ACFAB779BBF724AF43C51B59CDDA5E53929A7E2F72BC700922D7ACCBA44CEEE9CFFFAEAF2BD8E13346BD063E052A0BB8293693E4A5595C5B0FE430B04F81071],'Icon'=[ZIP5E07000078DA636060044209090610C9E0C1CEC020C6C0C0A001C4402106030688380828B0338C8261081AB08A1E38708072A3C83204DD28E20DE1E3E3C365147E43D0346A6B6B931726B8346233A481F8B0C03416D525A8463534E0D268626242420C02CD811985A6D1CECE8EB8386C40760CA646777777620D4135074D6360602079E6A0698C8A8A22C93BB834A6A4A49097E8D134E6E6E69697973734909054808A815A801A47CB3562C0FFFFFF51F0F1FF8F196EFEF9CD70E3C76F863B85BF19EE29FF66B8CF0EC4FD207A37C3056569860B05DC0CD72AA419EE555833DC29B066B87FA09AE1FEC3DF60BDE8E6010094876FB4],'Icon'=[ZIP5E07000078DA636060044209090610C9E0C1CEC020C6C0C0A001C4402106030688380828B0338C825130388043541CD96AE0E2040D21C6160A9D4DBC63E8E024521D43532791E7181A3989729369E124DA79738480FF04C0877FFCFF7FFC930762FBFF7F6A8098A1FEFF3F0B10064A0A00B120103702713314A3010056116986],'Icon'=[ZIP5E07000078DAE5933F4FC24018C69F72F6DAF2AFC18130096E8E6E84451DDDFC087E0CD9D0D984EFE0CA641C981C804117D3C418160621049A9018839D50FE9CEF55440215B13098F834CFE5ED7BEFFD727D7B0728F4241290230E35200E60874C29ECE2232F95D2B08254972411E1906F880EB0F3AA927FD44E1EF8D115B8EE8F1329B4F5CBA6516E9AF92AB2F751DDF0C9293FEBAD9770F53550EA98171D70BFDF1501BB7B8ADF7436AF5B6008AFD4670EC611DCC01AC57E2EA9542AC562B1E08A027AF528D21635A856AB599635CFA1244D4D571A2CF01DC4B6EDC59C19D4BA3831AE82A93310C771A63933ED9A70A86C921F8E46BDB7BE8C42467A2F33CF99DFAA272799DC4AA7334288D1B01F50E08F13DB4E8DFF9B1694A740E1BEF7F3A5A8E9D99F5F7356EBF35F3B3F6BB917CB68A97BFA6F2406FB10BD2444776C190F8E3130EBE8B23A1A4A1D2548DFE21407386B7C3A4BCE512E4773C2754311B446D05A01BA78AEDF01EE499603],'Icon'=[ZIP5E07000078DACD956B4C5B6518C70F51436244C63697CE181D68CC8CC118C1183F690C0BF3838A988D08BB66DD5C71A501863ACAA52D817693D18572295B858D8B133A5881E0B8CAA55368770A6B293D85F69C9ED3D396B6945ECF296DB2783CB8AFD2D97D303E6FFEEF87E77D9F5F9EF7796F009040370603D8EE81C38900B00F008083B46817F02EF0D8BF6D071281FF9F3535D40A2AB855153F48C4579E1AC23CCE4B657C7F2055989E59712CFF08875DF8149033F982577657A5EC6A7EF98DC18CACB92F0AA4C78FE6C40D2910EC4FAEDC9D224D4B1FCBCC36E47188B25A93A0BC342EC8D963D58C1769485B5AFA78E66128F75BA254E46E6EED8F0BC262D6EE4FE1EFDD7B3DF5EDB18C6C28F702515CE794B42AE28270CEF318FBC4AFA6FEFCE67B5319D9C61C56A844E86AB93EB2D3FCB9C9D1F191A1A1BBF2DBDD1D3765AD7D5D1D437DBD9C42D6AEA4C2B4B7DA3FCC9A3D94071F290A158B3C31208DC2CAEAE213CD572B6EFD547FA5A684CDCC61E57D72F2D3ACE4A4179E4FFA20FDFDCB5F9F7BC0E6F9AA24A136D9F04E904B1CD640EF2DC3F2B461657A6D4D6D3269CCA625AD46D92313E57CFCCE73CF26BC7EF0CBF3A5130DEDBEAEAE5F77ACE1A9A3BA453586EA8CC6DF2D161045411CD7BA5C7030E071D851C52F12F6C9DC97F6EC29FAE6744F7BCB4E906BB5DC897B72BD5E698641C4A28161350C2FA008E8B019FC3EE7563868B7993B6F88B84527FA6F77C7D88BB2B379F7A7FB6004C46C7A1CD763980EC396305463B5686894D763DD70635ACD94B4FED2F0803C06A7F2E269D5C2286E5F75BA61971B713AE175A7C9663760E892D502DAAD3ADC66808C2AA9B85A21EF8DC1B97AB96C59FF87CB8D6EFA6CBEC0BAD7BFEED9B4395D306E5F412D206256A196450852DD68AA1BBC132B9F1AEE39D3DAC340C01D24BC64C44F847DFEC0C6C626EE585F43D145B369DE82801034DF22E60F2B066270BE637D8521C62D324492C168341C8D9204E9F3FA1DF4EA30EC216CA6CB0EEAB5BFC91A05B353E331380DFC9225F51411F48709628B24A211920C6F73E87259F1650401575694F3CABBFD9D4D4FBC3EC272A6C9F8E05134120E854822180A793D5E9BC30563B89E3E067A9DB253261E55C89FC829CCFF5CD6C8855735419F870C06E9DC36BD76DC06AD1AD5EA85B1D989916B42FEBFBCD1E5174E4944C55ACD248640280CE975AAFBB3837393F2BE6E594DF9C5789F3B458FB4AD9EFB239FCD667EC62C38D421A99BBE37F45F7E1FD4DF86D19AA1C5A345BBFE4CA0A847CF505424918A00C9941F788D42818FA819A09AE2D1C3FF283A64665B74189A4887263F26FF05EA24410B]]
}
Add(For,11384294,371,238)
{
IncludeEnd=1
link(onEvent,13294340:doData,[])
link(End,10515394:CountIcons,[])
}
Add(BoxDrawManager,12362567,287,175)
{
Name="draw"
Gradient=1
Gutter=1
}
Add(IndexManager,11360463,511,259)
{
Name="idx"
Index=[]
}
Add(ArrayRW,15176430,511,322)
{
link(Array,11360463:Indexes,[])
link(Value,12607498:Index,[(531,303)(443,303)(443,379)(398,379)])
}
Add(RedrawManager,2349241,511,364)
{
ControlManager="ListBox"
}
Add(Hub,67906,434,329)
{
link(onEvent1,15176430:doWrite,[])
link(onEvent2,2349241:doRedraw,[(480,342)(480,370)])
}
Add(DoData,13294340,420,238)
{
Data=Integer(-1)
link(onEventData,14644647:doEvent1,[])
}
Add(Hub,14644647,462,238)
{
link(onEvent1,15176430:doAdd,[(494,244)(494,342)])
link(onEvent2,12607498:doAdd,[(488,251)(488,289)(359,289)(359,328)])
}

карма: 22

1
Голосовали:EcsTasY