搞不懂这个VB里的X,Y坐标
搞不懂这个VB里的X,Y坐标
我想在在控件上单击一下,就在指针处弹出窗口.我在MouseUp中加入
frmCommentDetail.Left = X
frmCommentDetail.Top = Y
frmCommentDetail.Show
弹的不是地方,差老了.
改成:
frmCommentDetail.Left = X/Screen.TwipsPerPixelX
frmCommentDetail.Top = Y/Screen.TwipsPerPixelX
frmCommentDetail.Show
也不对,怎么回事?