I have problems with ibizobjform. Many times when I click on the close button (X) on the upper right square of the form, this forms not release and the close button on the form is dimmed. Isn't posible release the form using neither close button off the toolbar nor delete bar of file pad of the main menu. I was change the release method and queryunload method of cbizobjform because when I close forms using close button of inavtoolbar Im not asked to saved my changes.
cbizobjform QUERYUNLOAD method:
IF !DODEFAULT() NODEFAULT RETURN .F. ENDIF *-- Write out the contents current control IF !This.Write.Buffer() NODEFAULT RETURN .F. ENDIF
*--If Adding a new record but nothing entered yet IF This.IsNewAndEmpty() This.Cancel(.T.) RETURN .F. ELSE IF This.IsChanged() AND This.AskToSave()=IDCANCEL NODEFAULT RETURN .F. ENDIF ENDIF RETURN
cbizobjform RELEASE method:
IF THIS.QueryUnload() DODEFAULT() ENDIF NODEFAULT
Please i need solve This problem
Sorry for my bad english.I speak spanish
greetings Juan Carlos Carta jccarta ©2001 Juan Carlos Carta |