Вверх ↑
Ответов: 784
Рейтинг: 168
#1: 2020-08-28 08:34:15 ЛС | профиль | цитата
brangolf, способов много. Один из вариантов.

Add(MainForm,2953706,21,105)
{
}
Add(IconAnimation,4450368,147,91)
{
Delay=250
DelayCycle=100
CircleAnima=0
MaskColor=0
IndexArray=['0'=1,'0'=0]
Bitmaps=['Bitmap'=[ZIP3604000078DA73F235636100033320D600620128666450804840E591C1FFFFFF4731165C70BC8BC1775F1E43CA914692F4D51F9ECC60BD359EC1F1500683DB911C06E7C3990C36BB121912775411A5DF7C790483CDDE2406B763390C01C74B183C8FE531D81D4C65305F17C550B9A307AFDEA4A5650CC6F38319ACB6C533381C4E67703E9AC5E0782483C1664F1283D9F27006BBA91178F59BB6FA30E84FF26130591ACA60BE318AC17C6B0C83D9A668069395E10C06330318341B9DF1EA776D0E67309CE4CB107FAE81A1F07C2F43FEF91E8602204EBBD0C660B3328641B3C80E7FD82DEE6250A9B46508D853C0507B771643EBBDF90CF5776733249CAC67D0EA7667086C4920187ECE65410C2A15360C76CBE218E2B6543078AE4967D0687365D04AB7213A0E635B3319D4E3CC19C442341864C27519BCCB23876D3A07009E889139],'Bitmap'=[ZIP3604000078DA73F235636100033320D600620128666450804840E591C1FFFFFF473116ACB7FB0303EF968F0C4A3B3F90A4CF7DC74306EE2D1F18C4777F6790DFFB8D416ACF7706BEED5F19D4363E21A8D77BDD6506CEC57718F8B77E6290D9FB9D4165DF370639A019C23BBF3270AE7A0A96C7A7DF72FE6106CEB9971838D7BF66E0DF01D4B7E32B832090E6DAF481816BF12D069189FBF0EA176D5CC9C039E90883C08AFB0C821B5E32086E7C03A45F3108AC7ECCC033EB1C037BFD6ABCFAADBA963370F7EF67B03DF39F21E6FC4F86F0B33F1822CFFD64F03CFF9F4178D96D06A1921978F537ADDBC7C05C349B417ACD7D06EF4BFF19126EFC6708BAF29F417BD77B06E6FAB50C3E3D4B0886A167CB2C06C69C490C7CDD3B1934A6ED63109FB08781A96C01836A7E17D171583A770D834E4E0B0343601E83745235435CDFFC619BCE018B49A23A]]
Point(doIndexFrame)
link(onBitmapFrame,12382678:doBitmap,[])
}
Add(BitBtn,12382678,203,91)
{
Left=30
Top=5
Width=40
Font=[Arial,7,0,0,1]
Caption=""
Bitmap=[ZIP3604000078DA73F235636100033320D600620128666450804840E591C1FFFFFF4731165C70BC8BC1775F1E43CA914692F4D51F9ECC60BD359EC1F1500683DB911C06E7C3990C36BB121912775411A5DF7C790483CDDE2406B763390C01C74B183C8FE531D81D4C65305F17C550B9A307AFDEA4A5650CC6F38319ACB6C533381C4E67703E9AC5E0782483C1664F1283D9F27006BBA91178F59BB6FA30E84FF26130591ACA60BE318AC17C6B0C83D9A668069395E10C06330318341B9DF1EA776D0E67309CE4CB107FAE81A1F07C2F43FEF91E8602204EBBD0C660B3328641B3C80E7FD82DEE6250A9B46508D853C0507B771643EBBDF90CF5776733249CAC67D0EA7667086C4920187ECE65410C2A15360C76CBE218E2B6543078AE4967D0687365D04AB7213A0E635B3319D4E3CC19C442341864C27519BCCB23876D3A07009E889139]
Point(doBitmap)
link(onClick,7887783:doSwitch,[])
}
Add(Switch,7887783,259,91)
{
DataOn=Integer(0)
DataOff=Integer(1)
Point(onOn)
Point(onOff)
link(onSwitch,4450368:doIndexFrame,[(305,97)(305,83)(130,83)(130,111)])
}

карма: 15

0