class reference problem -
11-03-2004
, 08:07 AM
I have this situation.
I defined a table window class "A" derived from cQuickTable
I defined a form window class "B" with inside an instance of class "A"
Form Window Class: B
....
Contents
A: myTable
When i create an instance of class "B" in my application, i connect
the table window as a cQuickTable and then i find several
automatically generated functions. Among them there is the function
_qoConstruct() with this code
Action
Set m_bIsWired = TRUE
cQuickTable._qoConstruct()
When i compile, it raises an error because myTable is not derived from
cQuickTable. If i modify the code like below
Action
Set m_bIsWired = TRUE
hWndForm.cQuickTable._qoConstruct()
It is all ok.
Why? |