| | |
| | | //if MpsViewX2.FileName <> RelaFileName then |
| | | //begin |
| | | ImageScrollBox2.LoadFromFile(RelaFileName,1); |
| | | FindPoint(ImageScrollBox2.Graphic,UpLPoint_Rela,UpRPoint_Rela,DownLPoint_Rela,''); |
| | | //FindPoint(ImageScrollBox2.Graphic,UpLPoint_Rela,UpRPoint_Rela,DownLPoint_Rela,''); |
| | | FindPoint(ImageScrollBox2.Graphic,UpLPoint,UpRPoint,DownLPoint,NowW,NowH,ANCHOR); |
| | | //GetFFPoint(MpsViewX2,RelaFileName); //¨úFreeFormªº¤Q¦rÂI¤Î°ª«× |
| | | |
| | | //end; |
| | | |
| | | ShowRelaOMRErr(RelaSiteIdx); |
| | | end; |
| | | |
| | |
| | | var |
| | | Site : String; |
| | | iRect : TRect; |
| | | SP:TShape; |
| | | begin |
| | | if RelaIdx > RelaSiteList.Count then Exit; |
| | | |
| | | SP := TShape(FindComponent('SP'+inttostr(RelaIdx+1))); //20170327 ¦b°j°é¤¤n¨Ï¥Î¦h²Õ¾B¸n |
| | | SP.Brush.Color :=$00FEFAAD; |
| | | SP.Parent := ImageScrollBox1; |
| | | SP.Pen.Style := psSolid; |
| | | SP.Pen.Color := $00FEFAAD; |
| | | SP.Pen.Width := 1; |
| | | SP.Pen.Mode := pmMask; |
| | | SP.Left := iRect.Left; |
| | | SP.Top := iRect.Top; |
| | | SP.Width := iRect.Right-iRect.Left; |
| | | SP.Height := iRect.Bottom-iRect.Top; |
| | | |
| | | Site := RelaSiteList.Strings[RelaIdx-1]; |
| | | iRect := CM_Str2Rect(Site,ImageScrollBox1.Graphic.XDotsPerInch,UpLPoint_Rela); |
| | | ShowKeyinRect(ImageScrollBox2,iRect); |
| | | //ShowKeyinRect(ImageScrollBox2,iRect); |
| | | SetKeyinRect_New(ImageScrollBox2,Site,'','',UpLPoint,UpRPoint,sp); |
| | | end; |
| | | |
| | | procedure TErrlistForm.SiteNextBtClick(Sender: TObject); |