Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Private Sub Command1_Click()
SetWindowPos Me.hwnd, HWND_TOPMOST, CInt(Text1), CInt(Text2), CInt(Text3), CInt(Text4), 0
End Sub
'请参考采纳!谢谢!
你检查一下,四个文本框的名称?