Схема отображающая ошибку
Add(MainForm,1,112,91)
{
Width=#3:434|
Height=#3:520|
link(onCreate,17:doEvent1,[])
}
Add(DrawText,2,434,91)
{
X=15
Y=12
Text=#4:TEST|
Align=1
link(onDraw,7:doDraw,[(480,97)(480,130)(420,130)(420,146)])
}
Add(PaintBox,3,217,91)
{
Left=98
Top=91
Height=#3:300|
link(onDraw,4:doFill,[])
}
Add(FillStyle,4,259,91)
{
Color=Silver
link(onFill,6:doDraw,[])
}
Add(FillStyle,5,343,91)
{
Color=Black
link(onFill,2:doDraw,[])
}
Add(Rectangle,6,301,91)
{
X2=100
Y2=300
link(onDraw,5:doFill,[])
}
Add(DrawText,7,434,140)
{
X=15
Y=32
Text=#4:TEST|
Align=1
link(onDraw,9:doDraw,[(480,146)(480,184)(420,184)(420,195)])
}
Add(DrawText,9,434,189)
{
X=15
Y=52
Text=#4:TEST|
Align=1
}
Add(DrawText,10,448,343)
{
X=15
Y=12
Text=#4:TEST|
Align=1
link(onDraw,15:doDraw,[(495,349)(495,384)(434,384)(434,398)])
}
Add(PaintBox,11,224,343)
{
Left=224
Top=91
Height=#3:300|
link(onDraw,12:doFill,[])
}
Add(FillStyle,12,266,343)
{
Color=Silver
link(onFill,14:doDraw,[])
}
Add(FillStyle,13,350,343)
{
Color=Black
link(onFill,10:doDraw,[])
}
Add(Rectangle,14,308,343)
{
X2=100
Y2=300
link(onDraw,13:doFill,[])
}
Add(DrawText,15,448,392)
{
X=15
Y=32
Text=#4:TEST|
Align=1
link(onDraw,18:doDraw,[])
}
Add(DrawText,16,448,441)
{
X=15
Y=52
Text=#4:TEST|
Align=1
@Comment=#19:Центр уже не тот :(|
AddHint(27,73,0,0,@Comment)
}
Add(Hub,17,175,91)
{
link(onEvent1,3:doDraw,[])
link(onEvent2,11:doDraw,[(213,104)(213,349)])
}
Add(DrawText,18,630,392)
{
X=15
Y=32
Font=#10:22px Arial|
Align=1
@Comment=#32:Изменился высота шрифта Canvas-а|
AddHint(78,7,0,0,@Comment)
link(onDraw,16:doDraw,[(678,398)(678,431)(434,431)(434,447)])
}
Add(InfoTip,21,399,42)
{
Info=#44:Нижняя тройка элементов копия верхней тройки|
Frame=2
HAlign=0
Margin=3
@Width=169
@Height=445
}