И в чем проблема ?
code_34250.txt
------------ Дoбавленo в 08.33:
и даже так:
Add(MainForm,11997614,217,84)
{
Width=342
Height=285
Caption="Пример использования BitmapArray"
}
Add(Image,9860787,399,182)
{
Top=5
Width=330
Height=130
ViewStyle=3
}
Add(Button,8653509,217,182)
{
Left=10
Top=145
Caption="Петя"
Data=String(Петя)
link(onClick,3572666:doWork2,[])
}
Add(BitmapArray,4847374,336,126)
{
Bitmaps=['Петя'=[ZIP3604000078DA7D933D6E83301CC55FA51EA047E802EA1A868C0C9D22A44A59C20158337AE3105462C8C801DC0B840BF4041DB98BE367FB6FBE9C223DC501FFDE7BB6E1F3EBF80A771DAD3EACDE825EF0EE1F84E7CBCB18B35355554E6559AE949A9BE2A61E2B8DAD0D52F8D7871CE719BD96784065F6C605389F771E455178F67E82F9E92C97C1FC5E9F7B28B5F2204FE66ABE915960180698BFE0A3D76B711E612DC2F23EB34FE68ECE74D05AFB2EC163BB17B706A8EBDA79F86CA01DE1CA928FF9F44874204F71CF249F7C16F8C30DBE43621F533CC77E113A76C038867CECCE73CB338F8CE362E0E43A09DFB6AD93AC5F559ECFF33C662F79B2F46507591F07DC37D93FF23C83E86133FD26CFC17DEF155F2EFB2BDDE5FCC9338BF39BA68963F6B918046EF4DE6AEEBE7C07E9415F57DF76168FB9D7145977E6896F801E9460F410F13FB967ECD647E62E959AFB0018BC9A56],'Вася'=[ZIP3604000078DA9593A18E84301086E7927B80952B0F77F7029BAC5DD9E40C127B8F805CDB474062919548ECC8CA4A2CB2B2929B2994B450F6726DFED0B4FD66FEE984C7F7ED1DFCB8913E4997556FF0B11CACE7F198E7D9AB97F2DF0A2C0BBB16666BC04D086E1C483D58A3C0990EAC6E49CD2667DA531E11FF14C73BF0AA237EA2FCEC4153FEC5077B58F2B7918F13DE45BCAF037D1D55F938C4D8F3BA57F47559BF4208FFD6AFFC1BCFD3DAD9B40EF2519562EB97C1A5A6033FF42BEFD618E316C3F37446C9B718677CCE7F5DD770A5B8313F344DC28F217F10FBA03A828FAA2C130FA854CAE38EDFC5681B0945CCF7E9FD09CFFDB3D883B8DF130F393E2F0793D650D33B16F4B639DEEAE1054FF18D066C9E5089AFA59132FDFF7CFED0BB8C383FF3ECC1B3A48266CC5B9D8AF7C23EF777904F7FF7679DBCFE0507B55115],'Оля'=[ZIP3604000078DA73F235636100033320D600620128666450804840E591C1FFFFFF19CE4F716138D369C270714608984F0ABEB33498616783059C0F326363B53D437EA00906C6A6FFED7A378655950E703E48DDE13A63867B53AC195EAD7063F8B02598E1FEA614301B9B396F36F9C2F583E49ECF3063F830DB82E1FD743386F7B3CC183E2DB761F8BE3790E1D795328657A73AE16E83E97FB03E91E1EE4C5DB0D8A765660CAF671B323C9FACC7F07C823E4361A839186F2BD564F8B2D191E1F7956C862FD72783CD4076C3B7AD360C9FD71833BC5AA0C7F0749A16C3AD6E0D86D6706D14356033565833FCBD94CB70637B2D8A198FB6A7317CD962CAF0628116C3A3A9AA0C8BD3E4B1861FBEF0FCB2C78EE1ED6A5D86A773D5182ED46B13C4E87E00E1AF479D18DEAC019A315F8DE1DE347586075334181E4CD662783C591B1826BA0C2FA71A327C9865C9F076A1238AFED7E72642F41F7304E31DCD1A0CD99EAA287E3FDF65C6F0629A2EC3BBD926608C6E3FB2190FD65B31E4056830443AE9C3C3FFD90C4D86E7D375183E2EB1C0EAF64B7B7A199E9EEA02B33FDEEA6378B8D18A617BA32AC3D93E1586A70B34189ECC5107C60FD00F4B2DB1EA879901C2CFAEA481F1B78B6E0C1FB71B32BC5DA3C5F07EAD3EC38BA56670BD2075B8F204CC1C10BEBB3980E1C7792FB03E647BF1E9C7E73772F4C330C80C1046D60B00BC832710]]
}
Add(ArrayRW,7044253,336,182)
{
link(onRead,9860787:doLoad,[])
link(Array,4847374:Array,[])
}
Add(Button,1423955,217,147)
{
Left=10
Top=175
Caption="Оля"
Data=String(Оля)
link(onClick,3572666:doWork1,[(291,153)])
}
Add(Button,13416379,217,217)
{
Left=10
Top=210
Caption="Вася"
Data=String(Вася)
link(onClick,3572666:doWork3,[(291,223)])
}
Add(HubEx,3572666,287,182)
{
link(onEvent,7044253:doRead,[])
}