Просто у тебя режим "уличного художника". Выставляется пустой холст и прохожие наблюдают, как создается картина.
Обычно делают наоборот: сначала разнсят все данные и только потом или doVisible, или doBringToFront.
Примерно так (заодно и повыбрасывал лишнее. (с)Я так думаю.): cubenow.rar
И вот еще просто так:
Add(ChildPanelRush,13227094,340,319)
{
}
BEGIN_SDK
Add(EditMultiEx,2258200,21,21)
{
WorkCount=#14:doBringToFront|17:doEvent1=read ini|
EventCount=#22:doWork1=select control|19:doWork11=tag en/dis|
Width=566
Height=494
link(doBringToFront,16305104:doBringToFront,[(45,27)(45,90)])
link(doEvent1,8398750:doEvent1,[(169,34)(169,55)])
}
Add(PanelRush,16305104,70,77)
{
Left=149
Top=10
Width=310
Height=200
Color=15780518
ColorFrom=15780518
ColorTo=10789024
BorderColor=0
GradientStyle=0
ColorFromDis=10789024
ColorToDis=10789024
BorderColorDis=8421504
ShadowOffsetDis=0
GradientStyleDis=0
Glyphs=[]
RoundWidth=5
RoundHeight=5
Point(doBringToFront)
}
Add(If_else,16670929,364,112)
{
Op2=Integer(1)
link(onTrue,7455379:doCheck,[(412,118)(412,169)(151,169)(151,132)])
}
Add(Ini,13253733,294,112)
{
FileName="rds.ini"
Section="Other settings"
Key="TA,TP,PTY control"
link(onResult,16670929:doCompare,[])
}
Add(Hub,1875984,217,126)
{
OutCount=3
link(onEvent1,9654160:doCompare,[(286,132)(286,202)])
link(onEvent2,13253733:doWrite,[(242,139)(242,125)])
link(onEvent3,11000125:doCompare,[(241,146)(241,244)])
}
Add(If_else,9654160,315,196)
{
Op2=Real(1)
link(onTrue,4752003:doWork2,[])
link(onFalse,4752003:doWork1,[(362,209)(362,195)])
link(Op1,2180714:Var3,[(321,180)])
}
Add(ChanelToIndex,4752003,378,189)
{
link(onIndex,5563468:doEvent1,[])
}
Add(Ini,3484804,483,49)
{
FileName="rds.ini"
Section="Other settings"
Key="TA,TP,PTY"
link(onResult,3204832:doWork2,[])
}
Add(HubEx,3204832,546,49)
{
Angle=3
link(onEvent,2258200:doWork1,[(550,27)])
}
Add(Hub,5563468,441,189)
{
link(onEvent1,3484804:doWrite,[(476,195)(476,62)])
link(onEvent2,3204832:doWork3,[(550,202)])
}
Add(Hub,8398750,182,49)
{
link(onEvent1,3484804:doRead,[])
link(onEvent2,13253733:doRead,[(242,62)(242,118)])
}
Add(If_else,11000125,259,238)
{
Op2=Integer(1)
link(onTrue,16613808:doData,[])
link(onFalse,15972611:doData,[(355,251)(355,286)])
link(Op1,2180714:Var2,[])
}
Add(GetDataEx,2180714,259,175)
{
Angle=3
link(Data,7455379:Checked,[(174,180)])
}
Add(DoData,16613808,420,238)
{
Data=Integer(1)
link(onEventData,6678628:doWork2,[])
}
Add(DoData,15972611,420,280)
{
Data=Integer(0)
link(onEventData,6678628:doWork3,[(494,286)])
}
Add(HubEx,6678628,490,238)
{
link(onEvent,2258200:doWork11,[(559,244)(559,34)])
}
Add(CheckBoxRush,7455379,168,126)
{
Left=10
Top=10
Width=80
Color=15780518
Font=[Adobe Fan Heiti Std B,10,1,0,0]
ColorTo=12632256
ColorText=12617473
BorderColor=8421504
ColorShadow=0
ColorToOver=16761378
ColorTextOver=16754711
ShadowOffsetOver=0
ShadowOffsetDown=0
Caption="Enable"
ColorCheck=16672257
link(onCheck,1875984:doEvent1,[])
}
Add(If_else,5765649,273,385)
{
Op2=Integer(1)
link(onTrue,10186987:doCheck,[(316,391)(316,375)(81,375)(81,391)])
}
Add(Ini,14225131,224,385)
{
FileName="rds.ini"
Section="Other settings"
Key="TA,TP,PTY control"
link(onResult,5765649:doCompare,[])
}
Add(Hub,9933314,147,385)
{
OutCount=3
link(onEvent1,5429813:doData,[(203,391)(203,440)])
link(onEvent2,14225131:doWrite,[])
link(onEvent3,3239329:doData,[(171,405)(171,468)])
}
Add(Ini,3006635,343,350)
{
FileName="rds.ini"
Section="Other settings"
Key="TA,TP,PTY"
link(onResult,4622513:doWork2,[])
}
Add(HubEx,4622513,385,350)
{
Angle=3
link(onEvent,589837:doWork,[(389,342)])
}
Add(Hub,6282933,294,434)
{
link(onEvent1,3006635:doWrite,[(325,440)(325,363)])
link(onEvent2,4622513:doWork3,[(389,447)])
}
Add(Hub,4088380,147,350)
{
link(onEvent1,3006635:doRead,[])
link(onEvent2,14225131:doRead,[(215,363)(215,391)])
}
Add(GetDataEx,2467825,182,420)
{
Angle=3
link(Data,10186987:Checked,[(104,425)])
}
Add(DoData,3239329,182,462)
{
link(onEventData,11625102:doWork,[(397,468)(397,370)])
link(Data,2467825:Var2,[])
}
Add(CheckBoxRush,10186987,98,385)
{
Left=10
Top=10
Width=80
Color=15780518
Font=[Adobe Fan Heiti Std B,10,1,0,0]
ColorTo=12632256
ColorText=12617473
BorderColor=8421504
ColorShadow=0
ColorToOver=16761378
ColorTextOver=16754711
ShadowOffsetOver=0
ShadowOffsetDown=0
Caption="Enable"
ColorCheck=16672257
link(onCheck,9933314:doEvent1,[])
}
Add(DoData,5429813,224,434)
{
link(onEventData,6282933:doEvent1,[])
link(Data,2467825:Var3,[(230,425)])
}
Add(InfoTip,7014300,56,322)
{
Info=#46:Какая разница, кроме уменьшения телодвижений ?|
Width=351
Height=179
}
Add(LineBreakEx,611681,28,350)
{
Caption="1"
Type=1
link(OnEvent,4088380:doEvent1,[])
}
Add(LineBreakEx,589837,406,336)
{
}
Add(LineBreakEx,11625102,406,364)
{
}
END_SDK