Вверх ↑
Ответов: 8921
Рейтинг: 823
#1: 2021-05-17 17:27:02 ЛС | профиль | цитата
Gitarist,
Пример


Add(MainForm,2309237,224,91)
{
Left=5
Top=5
Height=340
Ctl3D=0
Caption="WebCam"
Point(onClose)
Point(Handle)
link(onCreate,10066069:doConnect,[])
link(onClose,10066069:doDisConnect,[])
}
Add(WebCam,10066069,301,105)
{
RefreshRate=67
FileDIB="WebCam.bmp"
FileVideo="WebCam.avi"
Point(doEditCopy)
link(WinHandle,2309237:Handle,[(321,96)(286,96)(286,131)(230,131)])
}
Add(Timer,15495268,224,140)
{
Interval=100
link(onTimer,10066069:doEditCopy,[(294,146)(294,125)])
}
Add(ChildForm,12602121,364,105)
{
}
BEGIN_SDK
Add(EditMulti,8982237,21,21)
{
}
Add(MainForm,15428969,49,42)
{
Left=200
Top=150
Width=657
Height=520
}
Add(Image,1787808,231,98)
{
Width=641
Height=481
Align=5
TabOrder=-1
Ctl3D=0
ViewStyle=1
Point(Handle)
}
Add(Img_Rotate,5984468,175,98)
{
link(onResult,1787808:doLoad,[])
link(Bitmap,12018088:Bitmap,[])
link(Angle,10752557:Position,[(188,89)(230,89)])
}
Add(ScrollBar,10752557,224,49)
{
Left=5
Width=320
Max=180
Min=-180
Page=30
}
Add(ClipboardHook,13765006,98,42)
{
link(onBitmap,7764525:doEvent1,[])
}
Add(Bitmap,12018088,175,49)
{
}
Add(Hub,7764525,140,49)
{
link(onEvent1,12018088:doLoad,[])
link(onEvent2,5984468:doRotate,[(165,62)(165,104)])
}
END_SDK

карма: 19

0