[求助]请教在窗口中的空间如何判断是否存在! Post By:2019/1/2 16:45:00 [显示全部帖子]
Dim tbl As WinForm.Table If e.Form.Controls("Table2") IsNot Nothing Then '显示找不到这个空间" e.Form.RemoveControl("Table2") End If tbl = e.Form.CreateSQLQuer y("Table2", "Select * Fro m {订单}","") tbl.SetBounds(10, 50, 600, 400) e.Form.AddControl(tbl)