这个问题该如何解决??
window activesheet
WindowObject winobjecttype[]
integer i
activesheet = parentwindow.GetActiveSheet()
if isvalid(activesheet) then
for i = 1 to UpperBound(activesheet.control)
winobjecttype[i] = typeof(activesheet.control[i])
choose case winobjecttype[i]
case DataWindow!
如何获得某个特定的数据窗口?
end choose
next
end if
错误:1、Incompatible types in assignment:windowobject,object
2、Incompatible types in expression:object,windowobject