Вверх ↑
Ответов: 19
Рейтинг: 21
#1: 2023-04-06 21:05:39 ЛС | профиль | цитата
Вот такой пример ...


Add(MainForm,13059791,210,168)
{
Width=233
Height=287
Position=1
Point(Handle)
Point(PHandle)
}
Add(FTCG_Tools,5160442,266,231)
{
link(Data,12603025:Position,[])
}
BEGIN_SDK
Add(EditMultiEx,5722645,70,35)
{
WorkCount=#7:doWork1|
EventCount=#7:onEvent|
DataCount=#4:Data|
Width=398
Height=186
link(doWork1,14752783:doValue,[(80,41)(80,69)])
}
Add(FT_Img_Point,2379337,196,140)
{
DrawSource=2
X=10
Y=10
Color=255
link(Bitmap,14752783:Value,[(202,118)(111,118)])
link(X,11233175:Position,[(209,107)(160,107)])
link(Y,7108345:Position,[(216,118)(251,118)])
link(Color,1362049:Result,[(223,124)(349,124)])
}
Add(FT_For,11233175,154,63)
{
End=200
Start=1
link(onEvent,5074214:doValue,[])
link(onStop,5722645:onEvent,[(195,76)(195,41)])
}
Add(FT_Memory,14752783,105,63)
{
link(onData,11233175:doFor,[])
}
Add(FT_For,7108345,245,63)
{
End=200
Start=1
link(onEvent,5496237:doOperation,[])
}
Add(FT_Memory,5074214,203,63)
{
link(onData,7108345:doFor,[])
}
Add(FT_Math,5496237,287,63)
{
OpType=2
ResultType=0
link(onResult,1362049:doOperation,[])
link(Op1,5074214:Value,[(293,51)(240,51)(240,100)(209,100)])
}
Add(FT_Math,1362049,343,63)
{
OpType=2
ResultType=0
link(onResult,2379337:doDraw,[(386,69)(386,129)(184,129)(184,146)])
link(Op1,5496237:Result,[(349,51)(327,51)(327,107)(293,107)])
link(Op2,5722645:Data,[(356,44)(76,44)])
}
END_SDK
Add(PaintBox,16017229,210,224)
{
Left=10
Top=40
Width=200
Height=195
Point(PHandle)
Point(onPaint)
link(onPaint,5160442:doWork1,[])
}
Add(TrackBar,12603025,266,168)
{
Left=5
Top=5
Width=205
Max=20
Min=1
Position=6
Point(onMouseUp)
link(onMouseUp,16017229:doRefresh,[(305,181)(305,209)(200,209)(200,230)])
}

карма: 1

1
Голосовали:Gunta