多个窗体调用 module 里的代码,一个问题
module里有public sub
if a.text1.text=0 then
...
a窗体调用没问题,b窗体同样的,b窗体怎么调用?module里怎么写?
Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii = 46 And InStr(1, Text1.Text, ".") > 0 Then KeyAscii = 0 End If End Sub