Вверх ↑
Разработчик
Ответов: 26163
Рейтинг: 2127
#1: 2008-03-13 16:52:48 ЛС | профиль | цитата
Леонид, с введением новшества -- наследники WinControl

На вот тебе схему без таймера, нафиг он там не нужен. И откуда ты взял, что у нас есть только компонент Image



Add(MainForm,2060841,245,182)
{
Left=20
Top=105
}
Add(ODialog,8946635,287,231)
{
link(onExecute,11585814:doLoad,[])
}
Add(PictureStream,11585814,329,231)
{
link(onLoad,6760295:doWork1,[])
}
Add(Button,8407419,245,231)
{
Top=20
Width=65
Color=-16777211
Ctl3D=0
Caption="Открыть"
link(onClick,8946635:doExecute,[])
}
Add(Edit,9396111,413,231)
{
Left=5
Top=75
}
Add(ChildScrollBox,6760295,371,231)
{
link(onEvent1,9396111:doText,[])
}
BEGIN_SDK
Add(EditMulti,3978996,21,21)
{
EventCount=1
WorkCount=1
Width=405
Height=424
link(doWork1,10754446:doEvent1,[(46,27)(46,167)])
}
Add(LineBreakEx,14136722,182,91)
{
Caption="Refresh"
Type=1
link(OnEvent,4428139:doRefresh,[])
}
Add(ScrollBox,10924359,84,91)
{
Left=65
Top=15
Width=320
Height=240
}
Add(Hub,10754446,84,161)
{
OutCount=4
link(onEvent1,652811:doLoad,[(128,167)(128,97)])
link(onEvent2,950310:doData,[])
link(onEvent3,8473961:doValue,[])
link(onEvent4,12804213:doDraw,[])
}
Add(DoData,950310,147,168)
{
link(onEventData,4428139:doWidth,[(229,174)(229,111)])
link(Data,652811:Width,[])
}
Add(Memory,8473961,154,175)
{
Point(Data)
link(onData,4428139:doHeight,[(238,181)(238,118)])
link(Data,652811:Height,[])
}
Add(Memory,4468701,259,280)
{
Default=Integer(0)
Point(Data)
link(onData,3868176:doWork2,[])
link(Data,4428139:MouseX,[])
}
Add(Img_Line,10122244,252,385)
{
DrawSource=1
Color=255
Point(Point1)
Point(Point2)
link(onDraw,3978996:onEvent1,[(385,391)(385,27)])
link(Bitmap,5359063:getVar,[(258,367)(216,367)])
link(Point1,10941271:Var2,[])
link(Point2,11703348:Point,[(272,377)(279,377)])
}
Add(PointXY,11703348,273,336)
{
link(X,10941271:Var3,[(279,324)])
link(Y,8473961:Value,[(286,319)(160,319)])
}
Add(Img_Bmp,12804213,252,182)
{
link(onDraw,3704837:doWork,[])
link(Bitmap,4428139:Bitmap,[])
link(SourceBitmap,652811:Bitmap,[(265,152)(146,152)])
}
Add(GetDataEx,10941271,252,315)
{
link(Data,4468701:Value,[])
}
Add(LineBreakEx,3704837,301,182)
{
Caption="Refresh"
}
Add(LineBreakEx,15267186,259,217)
{
Caption="Refresh"
}
Add(Application,760079,273,238)
{
}
Add(PaintBox,4428139,252,91)
{
Point(onMouseUp)
Point(doWidth)
Point(doHeight)
Point(MouseX)
Point(MouseY)
Point(Handle)
Point(onMouseDown)
link(onBeforeDraw,3868176:doWork1,[(368,97)])
link(onMouseUp,14620550:doEvent1,[(297,104)(297,67)(194,67)(194,237)])
}
Add(Bitmap,652811,140,91)
{
Point(Width)
Point(Height)
}
Add(HubEx,3868176,364,273)
{
Angle=1
link(onEvent,10122244:doDraw,[(368,433)(237,433)(237,391)])
}
Add(LineBreakEx,5359063,210,336)
{
Caption="Handle"
Type=2
}
Add(LineBreakEx,412494,273,140)
{
Caption="Handle"
Type=3
link(_Data,4428139:Handle,[])
}
Add(Hub,14620550,203,231)
{
OutCount=3
link(onEvent1,15267186:doWork,[(247,237)(247,223)])
link(onEvent2,760079:doProcessMessages,[])
link(onEvent3,4468701:doValue,[(247,251)(247,286)])
}
END_SDK

карма: 22

0