I found that the class aUserMaintForm got some kind of corruption when I redefined it via the Class Brower. Formerly, that class was a child of iBizObjForm. Then I redefined it by making SBTBizObj its new parent.
The problem I described previously dissapeared when I re-built the class from scratch.
Have any of you ever had the same kind of problem?
<i><font color="#663300">I've the following hierarchy of form classes:
cBizObjForm (cForms.vcx) | +->iBizObjForm (iForms.vcx) | +->SBTBizObjForm (SBTForms.vcx) | +->aUserMaintForm (aForms.vcx) I've specified the BeforeNew() method in SBTBizObjForm as:
LOCAL llResult llResult = DODEFAULT() IF llResult THIS.SetEditState(clTRUE) ENDIF RETURN llResult
The problem stands on the fact that I can't get the BeforeNew() method to be executed. I traced the program execution with the debugger but when it arrives to cBizObjForm::New() it ignores the call to THIS.BeforNew() as if it were empty.
Any clue of what I'm overlooking? Please?
Thank you for your patience </font></i>
Gustavo A. Schweitzer Strategic Business Technology, Inc. Miami FL, USA ©2001 Gustavo Alfredo Schweitzer |