Вверх ↑
Ответов: 793
Рейтинг: 168
#1: 2024-04-27 18:19:31 ЛС | профиль | цитата
Рисовать свой Hint можно на чём угодно.
Add(MainForm,15307610,189,217)
{
Width=796
Height=552
link(onCreate,6796361:doData,[])
}
Add(Label,2437858,189,161)
{
Left=90
Top=10
HintManager="asd"
Caption="Всплывающая подсказка"
Point(onMouseLeave)
Point(onMouseEnter)
}
Add(DoData,6796361,238,231)
{
Data=String(0.419;0.65;0.069;0.015;0.033;17.21;7.62;0.2;0.007;0.007;0.175;0.031;0.05;0)
link(onEventData,9187339:doEnum,[])
}
Add(UserHintManager,7572392,238,161)
{
Name="asd"
link(onShow,9393821:doWork2,[])
link(onHide,9393821:doWork1,[(277,181)(277,167)])
}
Add(ChanelToIndex,9393821,294,161)
{
link(onIndex,9018577:doVisible,[])
}
Add(DocumentTemplate,9029481,413,161)
{
DrawSource=2
Name="doc"
}
BEGIN_SDK
Add(Print_Table,10337592,-3,-3)
{
Name="table"
Width=150
Height=500
Columns=#6:X|70|0|7:A|100|2|
RowHeight=25
TableBackColor=-16777213
TBorderStyle=5
HeadFont=[Lucida Console,12,0,0,204]
HeadBackColor=15780518
CellFont=[Lucida Console,10,0,0,204]
Cells=#2:C||3:Mn||3:Si||2:S||2:P||3:Cr||3:Ni||3:Cu||3:Al||3:Ti||3:Mo||2:V||2:W||2:N||0:|
CellTrans=0
Left=5
Top=3
Right=5
Bottom=3
}
END_SDK
Add(PC_TableSetCell,8495976,413,231)
{
ItemName="table"
Document="doc"
Col=1
link(Text,9187339:Part,[(419,222)(405,222)(405,278)(307,278)])
link(Row,6620094:Result,[(433,215)(391,215)(391,271)(356,271)])
}
Add(Str_Enum,9187339,294,231)
{
link(onEnum,6620094:doOperation,[])
}
Add(Math,6620094,350,231)
{
OpType=1
Op2=1
link(onResult,8495976:doText,[])
link(Op1,9187339:NumSubStr,[(356,222)(342,222)(342,271)(300,271)])
}
Add(Label,9018577,350,154)
{
Left=90
Top=35
Width=154
Height=380
Visible=1
Caption=""
AutoSize=1
Point(doVisible)
Point(onPaint)
link(onPaint,9029481:doDraw,[])
}

С перемешением
Add(MainForm,15307610,126,322)
{
Width=796
Height=552
link(onCreate,6796361:doData,[])
}
Add(Label,2437858,182,119)
{
Left=90
Top=10
HintManager="asd"
Caption="Всплывающая подсказка"
Point(MouseX)
Point(onMouseMove)
Point(Left)
Point(Top)
Point(MouseY)
link(onMouseMove,11950423:doEvent1,[(228,132)(228,111)(144,111)(144,181)])
}
Add(DoData,6796361,175,336)
{
Data=String(0.419;0.65;0.069;0.015;0.033;17.21;7.62;0.2;0.007;0.007;0.175;0.031;0.05;0)
link(onEventData,9187339:doEnum,[])
}
Add(UserHintManager,7572392,126,252)
{
Name="asd"
link(onShow,9393821:doWork2,[])
link(onHide,9393821:doWork1,[(165,272)(165,258)])
}
Add(ChanelToIndex,9393821,182,252)
{
link(onIndex,9018577:doVisible,[])
}
Add(DocumentTemplate,9029481,350,252)
{
DrawSource=2
Name="doc"
}
BEGIN_SDK
Add(Print_Table,10337592,-3,-3)
{
Name="table"
Width=100
Height=400
Columns=#6:X|50|1|7:A|100|2|
RowHeight=20
TableBackColor=-16777213
TBorderStyle=5
HeadFont=[Lucida Console,8,0,0,204]
HeadBackColor=15780518
CellFont=[Lucida Console,8,0,0,204]
Cells=#2:C||3:Mn||3:Si||2:S||2:P||3:Cr||3:Ni||3:Cu||3:Al||3:Ti||3:Mo||2:V||2:W||2:N||0:|
CellTrans=0
Left=5
Top=3
Right=5
Bottom=3
}
END_SDK
Add(PC_TableSetCell,8495976,350,336)
{
ItemName="table"
Document="doc"
Col=1
link(Text,9187339:Part,[(356,327)(342,327)(342,383)(244,383)])
link(Row,6620094:Result,[(370,320)(328,320)(328,376)(293,376)])
}
Add(Str_Enum,9187339,231,336)
{
link(onEnum,6620094:doOperation,[])
}
Add(Math,6620094,287,336)
{
OpType=1
Op2=1
link(onResult,8495976:doText,[])
link(Op1,9187339:NumSubStr,[(293,327)(279,327)(279,376)(237,376)])
}
Add(Label,9018577,301,245)
{
Width=154
Height=302
Visible=1
Caption=""
AutoSize=1
Point(doVisible)
Point(onPaint)
Point(doLeft)
Point(doTop)
link(onPaint,9029481:doDraw,[])
}
Add(Hub,11950423,154,175)
{
link(onEvent1,13158317:doCalc,[])
link(onEvent2,8457151:doCalc,[])
}
Add(MathParse,13158317,189,175)
{
MathStr="%1 + %2 + 5"
link(onResult,9018577:doLeft,[(228,181)(228,265)])
link(X1,2437858:MouseX,[])
link(X2,2437858:Left,[])
}
Add(MathParse,8457151,245,182)
{
MathStr="%1 + %2 + 5"
link(onResult,9018577:doTop,[(284,188)(284,272)])
link(X1,2437858:Top,[(251,166)(209,166)])
link(X2,2437858:MouseY,[(258,159)(216,159)])
}

карма: 16

1
Голосовали:Stalevar
Редактировалось 3 раз(а), последний 2024-04-28 05:01:11