摘要:
其实就是一个坐标转换Fn GetViewportRootPos = Mouse.ScreenPos - Mouse.PosGetViewportRootPos()try(DestroyDialog TestFollowViewport)catch()Rollout TestFollowViewport "TestFollowViewport"( Timer theTimer interval:100 on theTimer tick do ( SetDialogPos TestFollowViewport ( Mouse.ScreenPos - Mouse.Pos) ))C 阅读全文