вот доработал схему , выкинул всё лишние, и теперь должна работать при любом разрешении экрана.
Make(delphi) ver(4.01 build 175) Add(MainForm,5234647,525,231) { Width=1280 Height=1024 Color=65535 Caption="" BorderStyle=0 Position=1 Point(onMouseMove) Point(Handle) Point(doWidth) Point(doHeight) link(onCreate,5218739:doEvent1,[(569,251)(569,272)(261,272)(261,293)]) } Add(Img_Point,5821069,693,357) { DrawSource=1 Size=5 Point(X) Point(Y) Point(Color) Point(Size) link(Bitmap,5197608:Handle,[(699,337)(524,337)]) link(X,1510836:MouseX,[(706,292)(699,292)]) link(Y,9690219:Result,[(713,324)(706,324)]) link(Color,11230210:Var1,[]) link(Size,11230210:Var2,[]) } Add(MouseEvent,1510836,693,161) { } Add(ChildPanel,11230210,714,266) { link(onEvent1,5234647:doMinimize,[(758,272)(758,262)(513,262)(513,251)]) link(onEvent2,5234647:doClose,[(758,279)(758,269)(513,269)(513,258)]) link(onEvent3,5197608:doRefresh,[(758,286)(758,250)(500,250)(500,300)]) } BEGIN_SDK Add(EditMulti,13681456,175,126) { EventCount=3 WorkCount=1 VarCount=2 Width=594 Height=508 link(Var1,2496626:CurrentColor,[(181,461)(195,461)]) link(Var2,6070454:String,[(188,476)(244,476)]) link(doWork1,7882251:doData,[(355,132)(355,244)]) } Add(Panel,1334560,315,140) { Width=333 Height=33 Align=2 Point(onMouseMove) Point(Handle) } Add(ColorBox,2496626,189,140) { Left=5 Top=5 Width=155 Height=21 } Add(ComboBox,6070454,231,140) { Left=165 Top=5 Width=50 Height=21 Strings=#1:1|1:2|1:3|1:4|1:5|1:6|1:7|1:8|1:9|2:10|2:11|2:12|2:13|2:14|2:15|2:16|2:17|2:18|2:19|2:20|2:21|2:22|2:23|2:24|2:25|2:26|2:27|2:28|2:29|2:30|2:31|2:32|2:33|2:34|2:35|2:36|2:37|2:38|2:39|2:40|2:41|2:42|2:43|2:44|2:45|2:46|2:47|2:48|2:49|2:50|2:51|2:52|2:53|2:54|2:55|2:56|2:57|2:58|2:59|2:60|2:61|2:62|2:63|2:64|2:65|2:66|2:67|2:68|2:69|2:70|2:71|2:72|2:73|2:74|2:75|2:76|2:77|2:78|2:79|2:80|2:81|2:82|2:83|2:84|2:85|2:86|2:87|2:88|2:89|2:90|2:91|2:92|2:93|2:94|2:95|2:96|2:97|2:98|2:99|3:100|3:101|3:102|3:103|3:104|3:105|3:106|3:107|3:108|3:109|3:110|3:111|3:112|3:113|3:114|3:115|3:116|3:117|3:118|3:119|3:120|3:121|3:122|3:123|3:124|3:125|3:126|3:127|3:128|3:129|3:130|3:131|3:132|3:133|3:134|3:135|3:136|3:137|3:138|3:139|3:140|3:141|3:142|3:143|3:144|3:145|3:146|3:147|3:148|3:149|3:150|3:151|3:152|3:153|3:154|3:155|3:156|3:157|3:158|3:159|3:160|3:161|3:162|3:163|3:164|3:165|3:166|3:167|3:168|3:169|3:170|3:171|3:172|3:173|3:174|3:175|3:176|3:177|3:178|3:179|3:180|3:181|3:182|3:183|3:184|3:185|3:186|3:187|3:188|3:189|3:190|3:191|3:192|3:193|3:194|3:195|3:196|3:197|3:198|3:199|3:200|3:201|3:202|3:203|3:204|3:205|3:206|3:207|3:208|3:209|3:210|3:211|3:212|3:213|3:214|3:215|3:216|3:217|3:218|3:219|3:220|3:221|3:222|3:223|3:224|3:225|3:226|3:227|3:228|3:229|3:230|3:231|3:232|3:233|3:234|3:235|3:236|3:237|3:238|3:239|3:240|3:241|3:242|3:243|3:244|3:245|3:246|3:247|3:248|3:249|3:250| } Add(Button,9029003,630,140) { Left=305 Top=5 Width=20 Caption="_" Point(doLeft) link(onClick,13681456:onEvent1,[(716,146)(716,132)]) } Add(Button,14748663,630,175) { Left=280 Top=5 Width=20 Caption="X" Point(doLeft) link(onClick,13681456:onEvent2,[(716,181)(716,139)]) } Add(Button,6272338,630,210) { Left=220 Top=5 Caption="Clear" link(onClick,13681456:onEvent3,[(716,216)(716,146)]) } Add(Screen,13221551,420,147) { } Add(DoData,7882251,420,238) { link(onEventData,426235:doEvent1,[]) link(Data,5860985:Var2,[]) } Add(Math,10073566,504,210) { OpType=1 Op2=60 link(onResult,9029003:doLeft,[(583,216)(583,146)]) link(Op1,1821550:Var3,[(510,198)]) } Add(Math,11201554,490,259) { OpType=1 Op2=30 link(onResult,14748663:doLeft,[(576,265)(576,181)]) link(Op1,1821550:Var2,[(496,231)(461,231)]) } Add(GetDataEx,5860985,413,189) { link(Data,13221551:Width,[]) } Add(GetDataEx,1821550,448,189) { Angle=3 link(Data,5860985:Var3,[]) } Add(Hub,426235,462,238) { link(onEvent1,10073566:doOperation,[(490,244)(490,216)]) link(onEvent2,11201554:doOperation,[(483,251)(483,265)]) } END_SDK Add(Math,9690219,700,217) { OpType=1 Op2=33 link(Op1,1510836:MouseY,[]) } Add(Hub,291562,602,294) { link(onEvent1,9690219:doOperation,[(689,300)(689,223)]) link(onEvent2,5821069:doDraw,[(654,307)(654,363)]) } Add(Image,5197608,511,280) { Top=35 Width=1280 Height=988 Color=16777215 Point(Handle) Point(onMouseMove) Point(doRefresh) Point(doWidth) Point(doHeight) link(onMouseMove,15615795:doCase,[]) } Add(Case,15615795,553,287) { link(onTrue,291562:doEvent1,[]) } Add(StyleXP,5195160,525,196) { } Add(Screen,4134301,371,189) { } Add(DoData,5003221,343,273) { link(onEventData,15777034:doEvent1,[(408,279)(408,265)]) link(Data,4134301:Width,[(349,236)(377,236)]) } Add(DoData,7957104,378,308) { link(onEventData,7566831:doEvent1,[(422,314)(422,300)]) link(Data,401096:Var2,[]) } Add(Hub,15777034,427,259) { link(onEvent1,5234647:doWidth,[]) link(onEvent2,5197608:doWidth,[(480,272)(480,307)]) } Add(Hub,7566831,427,294) { link(onEvent1,5234647:doHeight,[(486,300)(486,272)]) link(onEvent2,6893021:doOperation,[(452,307)(452,314)]) } Add(Math,6893021,455,308) { OpType=1 Op2=33 link(onResult,5197608:doHeight,[]) link(Op1,401096:Var3,[(461,240)]) } Add(GetDataEx,401096,371,231) { link(Data,4134301:Height,[]) } Add(Hub,5218739,273,287) { OutCount=3 link(onEvent1,5003221:doData,[(308,293)(308,279)]) link(onEvent2,7957104:doData,[(325,300)(325,314)]) link(onEvent3,11230210:doWork1,[(501,307)(501,272)]) }
|