Yra писал(а):
Да тоже самоеУ меня с 3% процентов съехала до 1%. Да и памяти меньше хавает. А кнопки там вообще зачем, может, достаточно одной панели
------------ Дoбавленo в 17.59:
А вот и вариант с чистыми панелями
Add(MainForm,14653924,266,133)
{
Width=322
Height=186
Caption="Генератор детского счастья )))"
BorderStyle=3
Icon=[ZIP7E04000078DAAD936B48536118C78F293ADADAB48B4417E943922178A19B7E5151B1D24A28D049B779CB09D972A058DEB696DA66B821E572D2D4C84A34B49BAEE6D2A4A5E52CED436948D68728FD90E0529906FFDEF778362CF45BCFE177FEEFF39CF3BCCFFBBCE7BC0CE3462E6F6F86DCB731520F86F165182680404224B218A716E5C1AC64AB083C8288B081B091531F6E1AAA6BB9E73CEE7DA7B971B175ABB322F3F8F907AC82E24373FCBCFD56DEF1B0E25D52832252F1BC3F46639B8B5476F7EDCBBD9B4FDE152E9983AE4AC497C719B71BA4883555403C6840F44315765FA94370FD38B6744C41689D6795FA1125662357939A275F169BB3B93613E1D62AECE829839F4581D0A63A84DC1C87C8E280A8D301EFC78B4A7D1A8F28EDCAE6F2BD0417E3BBFD1E15C2CFAA86A8470921614F4D07B63EF809A1651E2293C305F5693CBAA2DFE2AC2F28393CEBDB7715C2FE4AACE138AA6A45CAE56A880941776C10F42EB810F63A10AB199C75F62F284AE8F231AB90D87C06F29210546405E3865E0F9BCDC642C73B02ABE01EFE049ECA8FD8649E428CDAF6CCB9FFFC828399A9457BD1561C84BE8613D028E5B00D0C60726282858E737375484E1EC3CE802EAC8F7F4AF3539D1F507F92977ABF3010EF5AB2F0E6560ACA0BA5181E1A82DD6E67A1E36CA90EE2243B32D2A7E1EFDF058631489CF9B5A778A617FA2378DB9C81D78D62B4E824A8371AF1697494858E4F4BFA9094FC0BA9E933884F18A3F9A625F933C3EDE730DC76D645BB21076A858C701E9ACC5064C9665D4865D3347F6669FDFEA6347C7EA5C388E51241C92AF5695C979D808232072E943BA0D2CE23256DFCDFFA92CECA584C8EB4E2C7877BF8F6BE9155EAD3788DA601DAFA055CBBFD1BFA2607C222BAFFEA9F9B436BAE4EC4D8CBEBB07FB7B24A7DF931314AD55FD14CFE1DAA51716CAE76B94348D7417BA1FBC1A964B10E5D2BED975509F31F4DE1CE9DE015502C430FC9F9E2C530209DFC01660ACF51]
link(onCreate,12204028:doFor,[])
}
Add(ChildPanelEx,13150085,371,147)
{
Mode=1
}
BEGIN_SDK
Add(EditMultiEx,9226671,21,21)
{
WorkCount=#5:##add|
Width=447
Height=291
Point(##add)
}
Add(Panel,1425437,336,231)
{
Left=35
Top=105
Width=8
Height=8
Color=-16777195
Layout="parent.grid"
BorderWidth=0
BevelInner=0
BevelWidth=0
Point(doColor)
Point(onMouseMove)
Point(onMouseLeave)
link(onMouseMove,5073611:doEvent1,[(386,244)(386,60)(51,60)(51,104)])
link(onMouseLeave,13528514:doRGB,[])
}
Add(RGB,13495462,231,238)
{
G=127
link(onRGB,5784978:doWork2,[])
link(R,11504297:Result,[])
link(B,7123125:Result,[(251,219)(307,219)])
}
Add(Memory,6507797,231,91)
{
@Hint=#1:R|
Default=Integer(255)
AddHint(-82,28,23,13,@Hint)
}
Add(Memory,11286357,301,98)
{
@Hint=#1:G|
Default=Integer(0)
AddHint(-151,38,23,13,@Hint)
}
Add(Hub,5073611,63,98)
{
OutCount=3
link(onEvent1,6507797:doClear,[])
link(onEvent2,11286357:doClear,[])
link(onEvent3,11606193:doTimer,[(91,118)(91,167)])
}
Add(Hub,7134671,161,161)
{
OutCount=3
link(onEvent1,11504297:doOperation,[(203,167)(203,146)])
link(onEvent2,7123125:doOperation,[])
link(onEvent3,13495462:doRGB,[(203,181)(203,244)])
}
Add(Math,11504297,231,140)
{
OpType=1
Op2=3
link(onResult,6507797:doValue,[(278,146)(278,79)(219,79)(219,97)])
link(Op1,6507797:Value,[])
}
Add(Math,7123125,301,168)
{
Op2=3
link(onResult,11286357:doValue,[(349,174)(349,79)(289,79)(289,104)])
link(Op1,11286357:Value,[])
}
Add(Timer,11606193,105,161)
{
Interval=1
Enable=1
AutoStop=42
link(onTimer,7134671:doEvent1,[])
}
Add(RGB,13528514,399,245)
{
R=255
G=127
B=1
link(onRGB,5784978:doWork3,[(443,251)(443,289)(298,289)])
}
Add(HubEx,5784978,294,238)
{
link(onEvent,1425437:doColor,[])
}
END_SDK
Add(For,12204028,315,147)
{
End=944
link(onEvent,13150085:##add,[])
link(onStop,4794699:doResize,[(359,160)(359,195)])
}
Add(ToolBarLayout,4794699,371,189)
{
Name="grid"
Space=1
Padding=1
AutoSize=0
}