Вверх ↑
Ответов: 787
Рейтинг: 168
#1: 2023-08-03 23:26:39 ЛС | профиль | цитата
Flapiotun, свойство Position=0 в компоненте doCopy


Add(MainForm,1214487,525,161)
{
Width=1920
Height=1080
Color=0
Caption="Drop_text"
BorderStyle=0
WindowsState=2
Point(Width)
Point(Height)
Point(onKeyDown)
link(onKeyDown,10262512:doCompare,[(564,188)(564,167)])
}
Add(If_else,10262512,581,161)
{
Op2=Integer(27)
link(onTrue,1214487:doClose,[(620,167)(620,153)(515,153)(515,188)])
}
Add(PaintBox,324295,581,217)
{
Width=1920
Height=1080
Align=5
Color=0
Point(onMouseDown)
Point(doBringToFront)
}
Add(MultiElementEx,800294,581,273)
{
link(Bitmap,324295:Bitmap,[])
}
BEGIN_SDK
Add(EditMultiEx,5032481,21,21)
{
WorkCount=#5:##add|
DataCount=#6:Bitmap|5:Index|
Width=713
Height=382
VOffset=70
HOffset=350
Point(##add)
link(##add,4336738:doEvent1,[(39,97)(39,146)])
}
Add(LineBreakEx,8554824,357,259)
{
Caption="X"
Type=3
link(_Data,12095085:Result,[])
}
Add(LineBreakEx,6043661,259,259)
{
Caption="Y"
Type=3
link(_Data,6244430:Count,[])
}
Add(LineBreakEx,518403,651,105)
{
Caption="X"
Type=2
}
Add(LineBreakEx,498210,658,126)
{
Caption="Y"
Type=2
}
Add(MultiElementEx,13989938,574,112)
{
}
BEGIN_SDK
Add(EditMultiEx,4840818,14,14)
{
WorkCount=#8:doEvent1|8:doRandom|
VarCount=#5:Color|
DataCount=#5:Index|
Width=172
VOffset=70
HOffset=70
link(doEvent1,11467725:doEvent1,[])
link(Color,4062941:Color,[])
}
Add(RGB,4062941,84,147)
{
link(G,13774692:Random,[])
}
Add(Hub,11467725,28,84)
{
link(onEvent1,13774692:doRandom,[])
link(onEvent2,4062941:doRGB,[(74,97)(74,153)])
}
Add(Random,13774692,91,84)
{
Min=60
Max=255
}
END_SDK
Add(Hub,1834365,511,161)
{
OutCount=5
link(onEvent1,13989938:doEvent1,[(550,167)(550,118)])
link(onEvent2,5253420:doFont,[])
link(onEvent3,198922:doDraw,[(606,181)(606,167)])
link(onEvent4,4861988:doOperation,[(551,188)(551,244)])
link(onEvent5,14469501:doDraw,[(543,195)(543,335)])
}
Add(CounterEx,6244430,259,203)
{
Max=0
Step=32
Point(onThroughMax)
Point(doMax)
link(onNext,11967065:doRandom,[(319,209)(319,167)])
link(onThroughMax,3284335:doWork2,[])
}
Add(Random,11967065,357,161)
{
@Hint=#0:|20:(48-57) только цифры|21:(65-90) eng CAPS LOCK|25:(65-122) вместе с мелкими|23:(122-255) Русские буквы|0:|
Min=1
Max=70
link(onRandom,12109204:doCopy,[])
}
Add(CounterEx,3674003,203,196)
{
Max=10
Point(onThroughMax)
Point(doMax)
link(onThroughMax,6244430:doNext,[])
}
Add(LineBreakEx,844315,588,252)
{
Caption="X"
Type=2
}
Add(Math,4861988,637,238)
{
OpType=1
Op2=512
ResultType=0
link(Op1,14895781:getVar,[])
}
Add(Timer,11055183,91,196)
{
Interval=5
Enable=1
link(onTimer,3677299:doFor,[])
}
Add(For,3677299,147,196)
{
End=12
link(onEvent,3674003:doNext,[])
}
Add(Font,5253420,567,168)
{
Font=[Tahoma,20,1,0,204]
link(onFont,198922:doFont,[])
link(Color,13989938:Color,[])
}
Add(Img_Text,198922,637,161)
{
Point(X)
Point(Y)
Point(Orientation)
Point(doFont)
link(Bitmap,11576949:Var3,[(643,40)])
link(Text,7351177:Value,[(650,152)(496,152)(496,201)(461,201)])
link(X,518403:getVar,[])
link(Y,498210:getVar,[])
link(Orientation,4529554:Value,[])
}
Add(Memory,4529554,665,63)
{
Default=Integer(0)
}
Add(Img_Rectangle,14469501,574,329)
{
Point2=2097184
Point2AsOffset=0
Style=1
BgColor=0
Point(Point1)
link(Bitmap,11576949:Var2,[(580,222)(615,222)])
link(Point1,3807810:Point,[])
}
Add(PointXY,3807810,588,287)
{
link(X,844315:getVar,[])
link(Y,4861988:Result,[(601,278)(643,278)])
}
Add(LineBreakEx,14895781,637,210)
{
Caption="Y"
Type=2
}
Add(Screen,1601661,91,84)
{
}
Add(Math,6763317,91,140)
{
OpType=7
Op2=32
link(onResult,2145407:doEvent1,[])
link(Op1,1601661:Width,[])
}
Add(Hub,4336738,49,140)
{
OutCount=3
link(onEvent1,6763317:doOperation,[])
link(onEvent3,11055183:doTimer,[(74,160)(74,202)])
}
Add(Math,3617833,189,140)
{
Op2=512
link(onResult,6244430:doMax,[(242,146)(242,216)])
link(Op1,1601661:Height,[(195,131)(104,131)])
}
Add(Hub,2145407,147,140)
{
OutCount=3
link(onEvent1,3617833:doOperation,[])
link(onEvent2,12095085:doMax,[(326,153)(326,223)])
link(onEvent3,3284335:doWork1,[(312,160)])
}
Add(HubEx,3284335,308,210)
{
link(onEvent,12095085:doRandom,[])
}
Add(GetDataEx,11576949,609,35)
{
Angle=3
link(Data,5032481:Bitmap,[(377,40)])
}
Add(Copy,12109204,406,161)
{
Position=0
Count=1
link(onCopy,7351177:doValue,[])
link(Str,14650656:Text,[])
link(Position,11967065:Random,[(419,152)(398,152)(398,201)(363,201)])
}
Add(StrList,14650656,406,112)
{
Strings=#83:QWERTYUIOPLKJHGFDSAZXCVBNMqwertyuiopasdfghklzxcvbnm123456789 |
}
Add(Memory,7351177,455,161)
{
link(onData,1834365:doEvent1,[])
}
Add(MultiElementEx,12095085,357,210)
{
link(onRandom,3674003:doMax,[(399,216)(399,248)(193,248)(193,209)])
}
BEGIN_SDK
Add(EditMultiEx,9253230,21,21)
{
WorkCount=#8:doRandom|5:doMax|
EventCount=#8:onRandom|
VarCount=#6:Result|7:Result1|
Width=391
Height=144
link(doRandom,9916499:doRandom,[(60,27)(60,76)])
link(doMax,9916499:doMax,[(53,34)(53,97)])
link(Result,3847005:Result,[(27,110)(125,110)])
link(Result1,9995693:Result,[(34,117)(223,117)])
}
Add(Random,9916499,70,70)
{
Max=0
Point(doMax)
link(onRandom,3847005:doOperation,[])
}
Add(Random,15274809,266,70)
{
Min=10
link(onRandom,9253230:onRandom,[(305,76)(305,27)])
}
Add(Math,3847005,119,70)
{
OpType=2
Op2=32
link(onResult,12138105:doRandom,[])
}
Add(Random,12138105,168,70)
{
Min=2
Max=14
link(onRandom,9995693:doOperation,[])
}
Add(Math,9995693,217,70)
{
OpType=2
Op2=32
link(onResult,15274809:doRandom,[])
}
END_SDK
END_SDK
Add(Timer,1463335,525,217)
{
Interval=25
link(onTimer,324295:doRefresh,[])
}
Add(Timer,2852982,525,273)
{
Interval=100
AutoStop=40
link(onTimer,800294:##add,[])
}

карма: 15

2
Голосовали:ric, zhorik5