Тогда непонятно, почему так не работает, я так же сбросил позицию. Но в этом случае, она не требуется, судя по коду компонента, сброс там уже есть. Один и тот же текст, полученный разными способами, имеет разный код. Add(MainForm,10393006,175,567) { link(onCreate,7131476:doEvent2,[(247,587)(247,594)]) } Add(EnCrypt,3066723,518,567) { Mode=7 Key="123" Point(onError) Point(SrcStream) Point(Count) Point(DstStream) link(onEncrypt,8812628:doEvent1,[]) link(SrcStream,11649981:Var2,[]) link(Count,339946:Var2,[(559,552)(468,552)]) link(DstStream,715005:Var1,[(566,544)]) } Add(FileStream,16694208,329,581) { link(FileName,4563025:Value,[]) } Add(Hub,7131476,287,581) { InCount=2 link(onEvent1,16694208:doOpen,[]) link(onEvent2,16694208:doClose,[]) } Add(MemoryStream,16531468,693,476) { Point(doPosition) Point(Position) } Add(StreamConvertor,15717684,938,567) { Mode=6 Point(Data) link(onResult,12255551:doWork1,[(982,573)(982,603)(977,603)]) link(Data,4413154:Var2,[]) } Add(MemoryStream,4778444,938,476) { Point(doPosition) Point(Position) } Add(Hub,8812628,581,567) { OutCount=6 link(onEvent1,8065872:doData,[(613,573)(613,496)]) link(onEvent2,4377901:doConvert,[(609,580)(609,650)]) link(onEvent3,11673466:doConvert,[(644,587)(644,636)]) link(onEvent4,15970391:doData,[(665,594)(665,580)]) link(onEvent5,16531468:doClear,[(644,601)(644,489)]) } Add(GetDataEx,4413154,938,533) { link(Data,4778444:Stream,[]) } Add(Hub,699674,819,560) { OutCount=3 link(onEvent1,4443778:doData,[(857,566)(857,496)]) link(onEvent2,15717684:doConvert,[]) link(onEvent3,4778444:doClear,[(844,580)(844,489)]) } Add(StreamConvertor,11673466,693,630) { Mode=6 Point(Data) link(onResult,1178197:doWork2,[]) link(Data,715005:Var2,[]) } Add(DeCrypt,5929542,735,560) { Mode=7 Key="123" Point(SrcStream) Point(Count) Point(DstStream) Point(onError) link(onDecrypt,699674:doEvent1,[]) link(SrcStream,715005:Var3,[(769,544)]) link(Count,3355998:Var2,[(776,544)(706,544)]) link(DstStream,4413154:Var1,[(783,538)]) } Add(Memo,15350777,1064,630) { Left=550 Top=160 Align=5 ScrollBars=3 } Add(ODialog,2882193,231,567) { Filter="Текстовые файлы|*.txt" } Add(GetDataEx,715005,693,539) { link(Data,16531468:Stream,[]) } Add(DoData,8065872,630,490) { Data=Integer(0) link(onEventData,16531468:doPosition,[]) } Add(DoData,4443778,882,490) { Data=Integer(0) link(onEventData,4778444:doPosition,[]) } Add(Memory,4563025,329,525) { Default=String(D:\\1.txt) AddHint(-5,-26,66,13,Default) } Add(MemoryStream,2745207,364,679) { Point(doPosition) Point(Position) } Add(Hub,16218668,224,693) { OutCount=5 link(onEvent1,16140376:doData,[]) link(onEvent2,2745207:doCopy,[(342,706)(342,685)]) link(onEvent3,3066723:doEncryptStream,[(378,713)(378,587)]) link(onEvent4,2745207:doClear,[(349,720)(349,692)]) } Add(Button,1264575,14,693) { Left=300 Top=230 link(onClick,11219615:doData,[]) } Add(DoData,11219615,77,693) { Data=String(1656565656ddd) link(onEventData,11873539:doConvert,[]) } Add(StreamConvertor,11873539,133,693) { Mode=7 Point(Data) link(onResult,16218668:doEvent1,[]) } Add(DoData,16140376,266,693) { Data=Integer(0) link(onEventData,2745207:doPosition,[]) } Add(StreamConvertor,4377901,623,644) { Mode=6 Point(Data) link(onResult,1178197:doWork3,[(746,650)]) link(Data,11649981:Var3,[(629,558)]) } Add(GetDataEx,11649981,546,553) { link(Data,2745207:Stream,[(552,547)(461,547)(461,730)(370,730)]) } Add(HubEx,1178197,742,630) { link(onEvent,12255551:doWork2,[]) } Add(FormatStr,10657660,994,630) { DataCount=4 Mask="%1 (%2;%3;%4)" link(onFString,15350777:doAdd,[]) link(Str2,339946:Var3,[(1007,618)(680,618)(680,712)]) link(Str3,3355998:Var3,[(1014,523)]) link(Str4,4778444:Size,[(1021,569)(951,569)]) } Add(GetDataEx,339946,462,707) { Angle=2 link(Data,2745207:Size,[(468,730)(377,730)]) } Add(GetDataEx,3355998,700,518) { link(Data,16531468:Size,[]) } Add(DoData,15970391,672,574) { link(onEventData,5929542:doDecryptStream,[]) } Add(HubEx,12255551,973,630) { link(onEvent,10657660:doString,[]) }
Редактировалось 6 раз(а), последний 2024-08-06 16:00:08
|