ocx编程小问题在线等待:设计时设定的属性值为何运行时消失.
yokel 2003-10-17 01:49:27 OCX中:
Dim strPicPath As String
Public Property Get PicPath() As String
PicPath = strPicPath
End Property
Public Property Let PicPath(strPath As String)
strPicPath = strPath
End Property
在使用此控件时,设计时指定PicPath属性为"c:\1.bmp",
运行时PicPath属性则为"",何理!