或者前后加Me.Hide和Me.show
Private Sub Pickwidhig_Click()
Me.Hide
Dim P1 As Variant, P2 As Variant, P3 As Variant, zwdoc As ZcadDocument
Set zwdoc = ZWCAD.ZcadApplication.ActiveDocument
P1 = zwdoc.Utility.GetPoint(, "请指定列宽起始点:")
P2 = zwdoc.Utility.GetPoint(P1, "请指定行高起始(列宽结束)点:")
P3 = zwdoc.Utility.GetPoint(P2, "请指定行高结束点:")
' colwid.Text = Abs(P2(0) - P1(0))
' rowhig.Text = Abs(P3(1) - P2(1))
Me.show
End Sub
页:
1
[2]